Skip to content

Commit

Permalink
Explicitly avoid "__tests__/utils folder from jest tests"
Browse files Browse the repository at this point in the history
Signed-off-by: Francesco Torchia <[email protected]>
  • Loading branch information
torchiaf committed May 16, 2023
1 parent a4869e9 commit ca6bda0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ module.exports = {
'<rootDir>/stories/',
'<rootDir>/shell/scripts/',
],
testPathIgnorePatterns: [
'<rootDir>/node_modules/',
'<rootDir>(/.*)*/__tests__/utils/',
],
coverageDirectory: '<rootDir>/coverage/unit',
coverageReporters: ['json', 'text-summary'],
globals: { 'ts-jest': { isolatedModules: true } },
Expand Down

0 comments on commit ca6bda0

Please sign in to comment.