TypeError: environment.dispose is not a function
See original GitHub issueWhat is the current behavior?
All tests files fail with the following error:
TypeError: environment.dispose is not a function
at Promise.resolve.then (../../../../../usr/local/lib/node_modules/jest/node_modules/jest-runner/build/run_test.js:116:17)
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:188:7)
Tests were running yesterday.
Removing node_modules & reinstalling produced no difference.
Dependencies: “jest”: “^22.1.4”,
with presets: “jest-expo”: “^25.0.0”
Issue Analytics
- State:
- Created 6 years ago
- Reactions:5
- Comments:16 (5 by maintainers)
Top Results From Across the Web
environment.dispose is not a function when running npm test ...
Show activity on this post. 1) install jest-cli - This would resolve the TypeError: environment. dispose is not a function. git init to...
Read more >environment.dispose is not a function when running npm test ...
[Solved]-TypeError: environment.dispose is not a function when running npm test-Reactjs ... 1) install jest-cli - This would resolve the TypeError: environment.
Read more >Troubleshooting Jest with React: environment.setup is not a ...
This error affected two things: Jest test runs failed with the error TypeError: environment.setup is not a function . Travis CI passed despite ......
Read more >Group.dispose() is not a function - Questions - three.js forum
Just creating a group does not allocated disposable resources. The relevant entities are mostly materials, geometries and textures. Since they can be reused ......
Read more >igDataChart: dispose is not a function | Infragistics Forums
igDataChart: dispose is not a function. Jack posted over 7 years ago. I am trying to display a composite data chart by following...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
npm install jest-cli
fixed this one for meI also had to uninstall jest first,
npm uninstall jest
then donpm install jest-cli
I’m using create-react-app.