Skip to content

Commit c48c48c

Browse files
authored
fix(prefer-expect-assertions): use correct word in error message (#1873)
1 parent e0cdeb5 commit c48c48c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rules/prefer-expect-assertions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ export default createRule<[RuleOptions], MessageIds>({
7171
hasAssertionsTakesNoArguments:
7272
'`expect.hasAssertions` expects no arguments',
7373
assertionsRequiresOneArgument:
74-
'`expect.assertions` excepts a single argument of type number',
74+
'`expect.assertions` expects a single argument of type number',
7575
assertionsRequiresNumberArgument: 'This argument should be a number',
7676
haveExpectAssertions:
7777
'Every test should have either `expect.assertions(<number of assertions>)` or `expect.hasAssertions()` as its first expression',

0 commit comments

Comments
 (0)