Browse Source

Disable the jest/expect-expect lint rule.

We have a number of tests that use our internal test utility functions instead of jest expect statements, so this rule is triggered unnecessarily a lot.
Jason Grout 5 years ago
parent
commit
b756eba150
1 changed files with 2 additions and 1 deletions
  1. 2 1
      .eslintrc.js

+ 2 - 1
.eslintrc.js

@@ -47,7 +47,8 @@ module.exports = {
     'prefer-const': 'off',
     'jest/no-jest-import': 'off',
     'jest/no-export': 'warn',
-    'jest/no-try-expect': 'warn'
+    'jest/no-try-expect': 'warn',
+    'jest/expect-expect': 'off'
   },
   settings: {
     react: {