Skip to content

Commit

Permalink
Update jest to 22 and support watchPathIgnorePatterns configuration (#…
Browse files Browse the repository at this point in the history
…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.
  • Loading branch information
aisensiy authored and gaearon committed Jan 14, 2018
1 parent d66d127 commit 6914dea
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/react-dev-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"text-table": "0.2.0"
},
"devDependencies": {
"jest": "20.0.4"
"jest": "22.0.5"
},
"scripts": {
"test": "jest"
Expand Down
2 changes: 1 addition & 1 deletion packages/react-error-overlay/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"eslint-plugin-react": "7.1.0",
"flow-bin": "^0.63.1",
"html-entities": "1.2.1",
"jest": "20.0.4",
"jest": "22.0.5",
"jest-fetch-mock": "1.2.1",
"object-assign": "4.1.1",
"promise": "8.0.1",
Expand Down
4 changes: 2 additions & 2 deletions packages/react-scripts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"autoprefixer": "7.1.6",
"babel-core": "6.26.0",
"babel-eslint": "7.2.3",
"babel-jest": "20.0.3",
"babel-jest": "22.0.4",
"babel-loader": "7.1.2",
"babel-preset-react-app": "^3.1.0",
"babel-runtime": "6.26.0",
Expand All @@ -44,7 +44,7 @@
"file-loader": "1.1.5",
"fs-extra": "3.0.1",
"html-webpack-plugin": "2.29.0",
"jest": "20.0.4",
"jest": "22.0.5",
"object-assign": "4.1.1",
"postcss-flexbugs-fixes": "3.2.0",
"postcss-loader": "2.0.8",
Expand Down
1 change: 1 addition & 0 deletions packages/react-scripts/scripts/utils/createJestConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ module.exports = (resolve, rootDir, isEjecting) => {
'coverageReporters',
'coverageThreshold',
'snapshotSerializers',
'watchPathIgnorePatterns',
];
if (overrides) {
supportedKeys.forEach(key => {
Expand Down

0 comments on commit 6914dea

Please sign in to comment.