We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d894080 commit 38261cfCopy full SHA for 38261cf
lambdas/functions/webhook/src/sqs/index.test.ts
@@ -69,7 +69,7 @@ describe('Test sending message to SQS.', () => {
69
70
// Assert
71
expect(mockSQS.sendMessage).toHaveBeenCalledWith({ ...sqsMessage, MessageGroupId: String(message.id) });
72
- await expect(result).resolves.toBeUndefined();
+ await expect(result).resolves.not.toThrow();
73
});
74
75
0 commit comments