Skip to content

Commit

Permalink
Avoid triggering Jest more than once when running task tdd
Browse files Browse the repository at this point in the history
  • Loading branch information
havstein committed Sep 2, 2019
1 parent 1f8ac08 commit d002700
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@ module.exports = {
'\\.(gif|ttf|eot|svg)$': '<rootDir>/__mocks__/fileMock.js'
},
transformIgnorePatterns: ['<rootDir>/node_modules/'],
watchPathIgnorePatterns: ['/dist'],
setupFilesAfterEnv: ['<rootDir>/__mocks__/jest-setup.js']
};

0 comments on commit d002700

Please sign in to comment.