Skip to content

Commit

Permalink
fix spec
Browse files Browse the repository at this point in the history
  • Loading branch information
wolivera committed Oct 14, 2024
1 parent b89acbf commit 0465085
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ describe('Handler function', () => {
const result = await handler(event);
const users = JSON.parse(result.body);
expect(users).toBeInstanceOf(Array);
expect(users).toHaveLength(3);
expect(users).toHaveLength(4);
expect(users[0]).toHaveProperty('id', 1);
expect(users[0]).toHaveProperty('name', 'John Doe');
expect(users[0]).toHaveProperty('email', '[email protected]');
Expand Down

0 comments on commit 0465085

Please sign in to comment.