Closed
Description
create-react-app myapp
cd myapp
npm install lint-staged
rm -rf node_modules
npm install
npm test
gives an error:
TypeError: environment.dispose is not a function
Related: jestjs/jest#5294 lint-staged/lint-staged#414
Some kind of dependency hell scenario caused by bad resolving somewhere. Need to explore working around on our side in 1.x until we can bump Jest to a version that doesn't have this problem.