Closed
Description
With Enzyme installed, running tests:
"test": "react-scripts test --env=jsdom"
Throws the error:
TypeError: TestEnvironment is not a constructor
at runTest (node_modules/react-scripts/node_modules/jest/node_modules/jest-cli/build/runTest.js:30:15)
The tests run correctly when removing --env=jsdom
.