Skip to content

Commit

Permalink
fix(docs): use the correct function name (#1056)
Browse files Browse the repository at this point in the history
  • Loading branch information
yakirgot authored Feb 15, 2022
1 parent 775f184 commit 7435556
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/rules/prefer-expect-assertions.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ a native loop.
"rules": {
"jest/prefer-expect-assertions": [
"warn",
{ "onlyFunctionsWithAsyncKeyword": true }
{ "onlyFunctionsWithExpectInLoop": true }
]
}
}
Expand Down

0 comments on commit 7435556

Please sign in to comment.