chore(order): cancel order (#7586)

This commit is contained in:
Carlos R. L. Rodrigues
2024-06-03 12:31:33 -03:00
committed by GitHub
parent fdd9022376
commit 122186a78d
42 changed files with 945 additions and 116 deletions

View File

@@ -69,7 +69,7 @@ medusaIntegrationTestRunner({
{ throwIfKeyNotFound: true }
)
expect(getNonExistingRegion).rejects.toThrow(
await expect(getNonExistingRegion).rejects.toThrow(
"region id not found: region_123"
)
})
@@ -113,7 +113,7 @@ medusaIntegrationTestRunner({
])
// Validate all relations, including the link
expect(
await expect(
remoteQuery(
{
region: {
@@ -136,7 +136,7 @@ medusaIntegrationTestRunner({
)
// Only validate the relations with Payment. It doesn't fail because the link didn't return any data
expect(
await expect(
remoteQuery(
{
region: {
@@ -157,7 +157,7 @@ medusaIntegrationTestRunner({
).resolves.toHaveLength(1)
// The link exists, but the payment doesn't
expect(
await expect(
remoteQuery(
{
region: {
@@ -180,7 +180,7 @@ medusaIntegrationTestRunner({
)
// everything is fine
expect(
await expect(
remoteQuery(
{
region: {