Skip to content

Commit abc81e6

Browse files
stuartp44npalm
andauthored
Update lambdas/functions/termination-watcher/src/lambda.test.ts
Co-authored-by: Niek Palm <[email protected]>
1 parent 712a703 commit abc81e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lambdas/functions/termination-watcher/src/lambda.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ describe('Handle sport termination interruption warning', () => {
5555
resolve();
5656
});
5757
});
58-
await expect(interruptionWarning(event, context)).resolves.toBeUndefined();
58+
await expect(interruptionWarning(event, context)).resolves.not.toThrow();
5959
});
6060

6161
it('should not throw only log in error in case of an exception.', async () => {

0 commit comments

Comments
 (0)