Skip to content

Commit 0d313ba

Browse files
committed
Remove jsdom-fourteen
1 parent 7c700b2 commit 0d313ba

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

packages/react-scripts/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@
5656
"html-webpack-plugin": "4.3.0",
5757
"identity-obj-proxy": "3.0.0",
5858
"jest": "25.5.4",
59-
"jest-environment-jsdom-fourteen": "1.0.1",
6059
"jest-resolve": "25.5.1",
6160
"jest-watch-typeahead": "0.5.0",
6261
"mini-css-extract-plugin": "0.9.0",

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,7 @@ module.exports = (resolve, rootDir, isEjecting) => {
3838
'<rootDir>/src/**/__tests__/**/*.{js,jsx,ts,tsx}',
3939
'<rootDir>/src/**/*.{spec,test}.{js,jsx,ts,tsx}',
4040
],
41-
// TODO: This doesn't actually do anything currently as the test script explicitly specifies the env.
42-
// See https://github.com/facebook/create-react-app/issues/7491
43-
testEnvironment: 'jest-environment-jsdom-fourteen',
41+
testEnvironment: 'jsdom',
4442
transform: {
4543
'^.+\\.(js|jsx|mjs|cjs|ts|tsx)$': isEjecting
4644
? '<rootDir>/node_modules/babel-jest'

0 commit comments

Comments
 (0)