Jest hangs indefinitely
See original GitHub issueVersion
3.0.0-alpha.8
Reproduction link
https://github.com/dunglas/test-again
Steps to reproduce
$ vue create foo
# Select "Unit testing" then "jest"
$ cd foo
$ yarn test
What is expected?
The dummy test in the skeleton should run
What is actually happening?
$ yarn test
yarn run v1.3.2
$ vue-cli-service test
... never returns, displays nothing
Mac zsh
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
node.js - jest hangs indefinitely, runs no tests - Stack Overflow
Running watchman version hangs indefinitely. do this to fix the watchman from hanging: launchctl unload ~/Library/LaunchAgents/com.github.
Read more >Why Jest freezes after tests run? (Jest hangs indefinitely)
If you noticed that Jest (npm / yarn) test hang at the end of the test execution while you run tests in parallel...
Read more >Jest test suite hangs indefinitely · Issue #13389 - GitHub
When running tests with yarn jest the test suite will hang indefinitely and never complete. It's usually a couple of tests that are...
Read more >How to Stop Jest Tests from Hanging in Angular | by Paul Kim
Jest test hangs, hanging, stuck, never finishes, not running, won't stop. An article to stop hanging Jest tests in an Angular project.
Read more >Troubleshooting - Jest
Troubleshooting. Uh oh, something went wrong? Use this guide to resolve issues with Jest. Tests are Failing and You Don't Know Why.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
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
Just in case someone find this issue after some Googling, the issue was related to https://github.com/facebook/jest/issues/4529
Quick fix:
brew uninstall watchman
Closing for now, it’s probably on my side, I’ll investigate.