Skip to content

Commit

Permalink
Add todo to jest testEnvironment
Browse files Browse the repository at this point in the history
  • Loading branch information
ianschmitz committed Apr 6, 2020
1 parent 328f1c4 commit d276168
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/react-scripts/scripts/utils/createJestConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ module.exports = (resolve, rootDir, isEjecting) => {
'<rootDir>/src/**/__tests__/**/*.{js,jsx,ts,tsx}',
'<rootDir>/src/**/*.{spec,test}.{js,jsx,ts,tsx}',
],
// TODO: This doesn't actually do anything currently as the test script explicitly specifies the env.
// See https://github.com/facebook/create-react-app/issues/7491
testEnvironment: 'jest-environment-jsdom-fourteen',
transform: {
'^.+\\.(js|jsx|mjs|cjs|ts|tsx)$': isEjecting
Expand Down

0 comments on commit d276168

Please sign in to comment.