Skip to content

Commit

Permalink
Enable new jest/prefer-jest-mocked ESLint rule
Browse files Browse the repository at this point in the history
  • Loading branch information
FloEdelmann committed Jun 7, 2024
1 parent 428c079 commit 628fe01
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ export default typescriptEslint.config(
'jest/prefer-equality-matcher': 'warn',
'jest/prefer-expect-resolves': 'warn',
'jest/prefer-hooks-on-top': 'warn',
'jest/prefer-jest-mocked': 'error',
'jest/prefer-importing-jest-globals': 'error',
'jest/prefer-mock-promise-shorthand': 'error',
'jest/prefer-spy-on': 'warn',
Expand Down

0 comments on commit 628fe01

Please sign in to comment.