Skip to content

Commit e2154f6

Browse files
stuartp44npalm
andauthored
Update lambdas/functions/control-plane/src/lambda.test.ts
Co-authored-by: Niek Palm <[email protected]>
1 parent aefb608 commit e2154f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lambdas/functions/control-plane/src/lambda.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ describe('Test job retry check wrapper', () => {
216216
const error = new Error('Error handling retry check.');
217217
mock.mockRejectedValue(error);
218218

219-
await expect(jobRetryCheck(sqsEvent, context)).resolves.not.toThrow('Error handling retry check.');
219+
await expect(jobRetryCheck(sqsEvent, context)).resolves.not.toThrow();
220220
expect(logSpyWarn).toHaveBeenCalledWith(expect.stringContaining(error.message), expect.anything());
221221
});
222222
});

0 commit comments

Comments
 (0)