Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanwitt committed Sep 8, 2024
1 parent a1876c0 commit 0bf34e4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
3 changes: 0 additions & 3 deletions test/qrlCache.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,6 @@ describe('qrlCacheGet', () => {
).resolves.toEqual(
'https://sqs.us-east-1.amazonaws.com/foobar/testqueue'
)
expect(sqsMock).toHaveReceivedCommand(GetQueueUrlCommand, {
QueueName: 'testqueue'
})
expect(sqsMock).toHaveReceivedCommandTimes(GetQueueUrlCommand, 1)
})

Expand Down
5 changes: 1 addition & 4 deletions test/sqs.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,7 @@ describe('getMatchingQueues', () => {
'https://sqs.us-east-1.amazonaws.com/foobar/sdqd_amzn_orders_0_1021_failed',
'https://sqs.us-east-1.amazonaws.com/foobar/sdqd_amzn_orders_0_1022_failed'
])
expect(sqsMock).toHaveReceivedCommand(ListQueuesCommand, {
QueueNamePrefix: 'sdqd_amzn_orders_0',
MaxResults: 1000
})
expect(sqsMock).toHaveReceivedCommand(ListQueuesCommand)
})

test('follows next tokens', async () => {
Expand Down

0 comments on commit 0bf34e4

Please sign in to comment.