Skip to content

Commit af2bdf9

Browse files
authored
docs(prefer-expect-assertions): make correct code sample actually correct (#1090)
1 parent 9b5dc91 commit af2bdf9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: docs/rules/prefer-expect-assertions.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ describe('getNumbers', () => {
215215

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

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

0 commit comments

Comments
 (0)