Skip to content

Commit

Permalink
Update lambdas/functions/control-plane/src/lambda.test.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Niek Palm <[email protected]>
  • Loading branch information
stuartp44 and npalm authored Oct 9, 2024
1 parent 8540f71 commit 712a703
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lambdas/functions/control-plane/src/lambda.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ describe('Test scale up lambda wrapper.', () => {
resolve();
});
});
await expect(scaleUpHandler(sqsEvent, context)).resolves.toBeUndefined();
await expect(scaleUpHandler(sqsEvent, context)).resolves.not.toThrow();
});

it('Non scale should resolve.', async () => {
Expand Down

0 comments on commit 712a703

Please sign in to comment.