Skip to content

Commit 8540f71

Browse files
stuartp44npalm
andauthored
Update lambdas/functions/ami-housekeeper/src/lambda.test.ts
Co-authored-by: Niek Palm <[email protected]>
1 parent ddae611 commit 8540f71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lambdas/functions/ami-housekeeper/src/lambda.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ describe('Housekeeper ami', () => {
5252
resolve();
5353
});
5454
});
55-
await expect(handler(undefined, context)).resolves.toBeUndefined();
55+
await expect(handler(undefined, context)).resolves.not.toThrow();
5656
});
5757

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

0 commit comments

Comments
 (0)