question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Jest hangs indefinitely

See original GitHub issue

Version

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:closed
  • Created 6 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

3reactions
dunglascommented, May 25, 2018

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

0reactions
dunglascommented, Feb 6, 2018

Closing for now, it’s probably on my side, I’ll investigate.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found