Skip to content

Commit

Permalink
Expectations matter!
Browse files Browse the repository at this point in the history
  • Loading branch information
JCake committed Feb 18, 2024
1 parent ac549ce commit e3dbaf8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pizza-function/reports/mutation/mutation.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions pizza-function/src/lambdas.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ import { handler } from "./lambda";

test('runs function', async () => {
const result = await handler({detail:{}}, {} as any, () => {});
//expect(result.statusCode).toBe(200);
//expect(result.body).toBe('{"message":"Did not trigger event"}');
expect(result.statusCode).toBe(200);
expect(result.body).toBe('{"message":"Did not trigger event"}');
});

0 comments on commit e3dbaf8

Please sign in to comment.