Skip to content

Commit 013bd08

Browse files
committed
fix(jest): Disable require-to-throw-message rule
1 parent 5089664 commit 013bd08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

configurations/jest/rules/jest.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ module.exports = {
184184

185185
// Require a message for `toThrow()`
186186
// https://github.com/jest-community/eslint-plugin-jest/blob/main/docs/rules/require-to-throw-message.md
187-
'jest/require-to-throw-message': 'error',
187+
'jest/require-to-throw-message': 'off',
188188

189189
// Require test cases and hooks to be inside a `describe` block
190190
// https://github.com/jest-community/eslint-plugin-jest/blob/main/docs/rules/require-top-level-describe.md

0 commit comments

Comments
 (0)