Skip to content

Commit 04a8a19

Browse files
aisensiyTimer
authored andcommitted
Update jest to 22 and support watchPathIgnorePatterns configuration (#3124)
* update jest to 21.0.2 to support watchPathIgnorePatterns configuration * update jest to 21.1.0 * Try bumping Jest * Bump babel-jest * Try to debug weird CI failure * Remove debug code * Bump other Jest packages * ffs * temp * Revert "temp" This reverts commit 62aec9a.
1 parent 51c632a commit 04a8a19

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

packages/react-dev-utils/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
"text-table": "0.2.0"
5757
},
5858
"devDependencies": {
59-
"jest": "20.0.4"
59+
"jest": "22.0.5"
6060
},
6161
"scripts": {
6262
"test": "jest"

packages/react-error-overlay/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
"eslint-plugin-react": "7.1.0",
4949
"flow-bin": "^0.63.1",
5050
"html-entities": "1.2.1",
51-
"jest": "20.0.4",
51+
"jest": "22.0.5",
5252
"jest-fetch-mock": "1.2.1",
5353
"object-assign": "4.1.1",
5454
"promise": "8.0.1",

packages/react-scripts/package.json

+2-2
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": "22.0.4",
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": "22.0.5",
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

+1
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)