Skip to content

Commit

Permalink
docs(prefer-expect-assertions): make correct code sample actually cor…
Browse files Browse the repository at this point in the history
…rect (#1090)
  • Loading branch information
G-Rath committed Apr 22, 2022
1 parent 9b5dc91 commit af2bdf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/rules/prefer-expect-assertions.md
Expand Up @@ -215,7 +215,7 @@ describe('getNumbers', () => {

describe('/users', () => {
it.each([1, 2, 3])('returns ok', id => {
expect.assertions(3);
expect.assertions(1);

client.get(`/users/${id}`, response => {
expect(response.status).toBe(200);
Expand Down

0 comments on commit af2bdf9

Please sign in to comment.