Skip to content

Commit

Permalink
chore(jest): ignore path patterns in watch mode (#3963)
Browse files Browse the repository at this point in the history
  • Loading branch information
francoischalifour authored Jul 18, 2019
1 parent 23e46b6 commit 5e37b25
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,21 @@
module.exports = {
rootDir: process.cwd(),
testEnvironment: 'jest-environment-jsdom-global',
setupFilesAfterEnv: ['./scripts/jest/setupTests.js'],
testPathIgnorePatterns: [
'<rootDir>/node_modules/',
'<rootDir>/dist*',
'<rootDir>/functional-tests',
],
setupFilesAfterEnv: ['./scripts/jest/setupTests.js'],
watchPathIgnorePatterns: [
'<rootDir>/cjs',
'<rootDir>/dist',
'<rootDir>/es',
'<rootDir>/examples',
'<rootDir>/scripts',
'<rootDir>/stories',
'<rootDir>/website',
],
watchPlugins: [
'jest-watch-typeahead/filename',
'jest-watch-typeahead/testname',
Expand Down

0 comments on commit 5e37b25

Please sign in to comment.