Skip to content

Commit 45b234e

Browse files
committed
JavaScript (v3): Check queue name was deleted instead of queue count in SQS tests.
1 parent 9672b6e commit 45b234e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

javascriptv3/example_code/sqs/tests/queue-actions.integration.test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ describe("queue actions", () => {
6060

6161
await retry({ intervalInMs: 5000, maxRetries: 60 }, async () => {
6262
const urlsAfterDelete = await listQueues();
63-
expect(urlsAfterDelete.length).toBe(0);
63+
expect(urlsAfterDelete).not.toContain(QueueUrl);
6464
});
6565
});
6666
});

0 commit comments

Comments
 (0)