Skip to content

Commit fb84858

Browse files
aisensiyTimer
authored andcommitted
update jest to 21.0.2 to support watchPathIgnorePatterns configuration
1 parent 207ed45 commit fb84858

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

packages/react-scripts/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"autoprefixer": "7.1.6",
2525
"babel-core": "6.26.0",
2626
"babel-eslint": "7.2.3",
27-
"babel-jest": "20.0.3",
27+
"babel-jest": "21.0.2",
2828
"babel-loader": "7.1.2",
2929
"babel-preset-react-app": "^3.1.0",
3030
"babel-runtime": "6.26.0",
@@ -44,7 +44,7 @@
4444
"file-loader": "1.1.5",
4545
"fs-extra": "3.0.1",
4646
"html-webpack-plugin": "2.29.0",
47-
"jest": "20.0.4",
47+
"jest": "21.0.2",
4848
"object-assign": "4.1.1",
4949
"postcss-flexbugs-fixes": "3.2.0",
5050
"postcss-loader": "2.0.8",

packages/react-scripts/scripts/utils/createJestConfig.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ module.exports = (resolve, rootDir, isEjecting) => {
6262
'coverageReporters',
6363
'coverageThreshold',
6464
'snapshotSerializers',
65+
'watchPathIgnorePatterns',
6566
];
6667
if (overrides) {
6768
supportedKeys.forEach(key => {

0 commit comments

Comments
 (0)