diff --git a/packages/eslint-config-react-native-community/index.js b/packages/eslint-config-react-native-community/index.js index 8691452b8fab27..bd6343fc222cd6 100644 --- a/packages/eslint-config-react-native-community/index.js +++ b/packages/eslint-config-react-native-community/index.js @@ -58,7 +58,10 @@ module.exports = { }, }, { - files: ['*.{spec,test}.{js,ts,tsx}', '**/__tests__/**/*.{js,ts,tsx}'], + files: [ + '*.{spec,test}.{js,ts,tsx}', + '**/__{mocks,tests}__/**/*.{js,ts,tsx}', + ], env: { jest: true, 'jest/globals': true,