Skip to content

Commit fe7c2e5

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

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
@@ -99,7 +99,7 @@ describe('Test sending message to SQS.', () => {
9999

100100
// Assert
101101
expect(mockSQS.sendMessage).toHaveBeenCalledWith(sqsMessage);
102-
await expect(result).resolves.toBeUndefined();
102+
await expect(result).resolves.not.toThrow();
103103
});
104104

105105
it('Does not send webhook events to workflow job event copy queue when job queue is not in environment', async () => {

0 commit comments

Comments
 (0)