Skip to content

Commit

Permalink
feat: updated setupTests files to be considered a test file
Browse files Browse the repository at this point in the history
  • Loading branch information
mlaursen committed Feb 17, 2021
1 parent 91b34e2 commit cf0bf34
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,12 @@ module.exports = {
},
},
{
files: ['**/__tests__/**', '**/*.test.*'],
extends: ['plugin:jest/recommended'],
files: [
'src/setupTests.js',
'src/setupTests.ts',
'**/__tests__/**',
'**/*.test.*',
],
env: {
jest: true,
},
Expand All @@ -123,5 +127,9 @@ module.exports = {
'react/prefer-stateless-function': 0,
},
},
{
files: ['**/__tests__/**', '**/*.test.*'],
extends: ['plugin:jest/recommended'],
},
],
};

0 comments on commit cf0bf34

Please sign in to comment.