Skip to content

Commit 132eb13

Browse files
committed
feat: add prefer-to-have-been-called to style config
BREAKING CHANGE: `prefer-to-have-been-called` is now enabled in the `style` config
1 parent 4297d50 commit 132eb13

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ const styleRules = {
5656
'jest/prefer-to-be': 'error',
5757
'jest/prefer-to-contain': 'error',
5858
'jest/prefer-to-have-length': 'error',
59+
'jest/prefer-to-have-been-called': 'error',
5960
} satisfies Record<string, TSESLint.Linter.RuleLevel>;
6061

6162
const allRules = Object.fromEntries<TSESLint.Linter.RuleLevel>(

0 commit comments

Comments
 (0)