Skip to content

Commit

Permalink
Fix config for jest's __mocks__ dir
Browse files Browse the repository at this point in the history
  • Loading branch information
burtek committed Apr 9, 2022
1 parent 1b6af30 commit c3d28cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eslint-config-base.js
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ module.exports = {
}
},
{
files: ['*.test.js', '*.test.jsx', '*.test.ts', '*.test.tsx', '__mocks__/*'],
files: ['*.test.js', '*.test.jsx', '*.test.ts', '*.test.tsx', '**/__mocks__/**/*'],
env: {
jest: true,
node: true
Expand Down

0 comments on commit c3d28cb

Please sign in to comment.