Skip to content

Commit 38261cf

Browse files
stuartp44npalm
andauthored
Update lambdas/functions/webhook/src/sqs/index.test.ts
Co-authored-by: Niek Palm <[email protected]>
1 parent d894080 commit 38261cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lambdas/functions/webhook/src/sqs/index.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ describe('Test sending message to SQS.', () => {
6969

7070
// Assert
7171
expect(mockSQS.sendMessage).toHaveBeenCalledWith({ ...sqsMessage, MessageGroupId: String(message.id) });
72-
await expect(result).resolves.toBeUndefined();
72+
await expect(result).resolves.not.toThrow();
7373
});
7474
});
7575

0 commit comments

Comments
 (0)