diff --git a/.eslintrc.js b/.eslintrc.js index 6cae9fc20d4125..b952089e371a0e 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -18,7 +18,7 @@ module.exports = { extends: ['@react-native'], - plugins: ['@react-native/eslint-plugin-specs', 'lint'], + plugins: ['@react-native/eslint-plugin-specs', 'jest', 'lint'], overrides: [ // overriding the JS config from @react-native/eslint-config to ensure @@ -70,6 +70,12 @@ module.exports = { expect: true, jest: true, }, + rules: { + 'jest/consistent-test-it': [ + 'warn', + {fn: 'test', withinDescribe: 'test'}, + ], + }, }, { files: ['**/__tests__/**/*-test.js'],