diff --git a/packages/react-scripts/package.json b/packages/react-scripts/package.json index 4ce1b4d4196..5b8c5540179 100644 --- a/packages/react-scripts/package.json +++ b/packages/react-scripts/package.json @@ -26,7 +26,7 @@ "autoprefixer": "6.4.1", "babel-core": "6.14.0", "babel-eslint": "6.1.2", - "babel-jest": "15.0.0", + "babel-jest": "16.0.0", "babel-loader": "6.2.5", "babel-preset-react-app": "^0.2.1", "case-sensitive-paths-webpack-plugin": "1.1.4", @@ -51,7 +51,7 @@ "gzip-size": "3.0.0", "html-webpack-plugin": "2.22.0", "http-proxy-middleware": "0.17.1", - "jest": "15.1.1", + "jest": "16.0.1", "json-loader": "0.5.4", "object-assign": "4.1.0", "path-exists": "2.1.0", diff --git a/packages/react-scripts/utils/createJestConfig.js b/packages/react-scripts/utils/createJestConfig.js index 7eb9f9775c1..39c864ab8f4 100644 --- a/packages/react-scripts/utils/createJestConfig.js +++ b/packages/react-scripts/utils/createJestConfig.js @@ -27,7 +27,6 @@ module.exports = (resolve, rootDir, isEjecting) => { setupTestFrameworkScriptFile: setupTestsFile, testPathIgnorePatterns: ['/(build|docs|node_modules)/'], testEnvironment: 'node', - testRegex: '(/__tests__/.*|\\.(test|spec))\\.(js|jsx)$', }; if (rootDir) { config.rootDir = rootDir;