Jest freezes at startup without showing any output on the cli. It never stops and curiously doesn't consume much cpu resources, leading me to believe that it hangs before actually running tests. I've included a link to a repo where the issue is reproducible below.
Steps to reproduce the behavior:
upgrade_deps from https://github.com/marvinhagemeister/microbundle/yarn jest or yarn testJest should start and execute tests.
Branch upgrade_deps at https://github.com/marvinhagemeister/microbundle/
npx envinfo --preset jestPaste the results here:
$ npx envinfo --preset jest
npx: installed 1 in 1.964s
System:
OS: macOS 10.14
CPU: (8) x64 Intel(R) Core(TM) i7-4870HQ CPU @ 2.50GHz
Binaries:
Node: 11.1.0 - ~/.nvm/versions/node/v11.1.0/bin/node
Yarn: 1.12.3 - /usr/local/bin/yarn
npm: 6.4.1 - ~/.nvm/versions/node/v11.1.0/bin/npm
npmPackages:
jest: ^23.6.0 => 23.6.0
@marvinhagemeister it does not hang for me when following your repo steps - can you run --clear-cache and try again?
@rickhanlonii Thanks for looking into it. Turned out that watchman wasn't behaving correctly. Simply re-installing it via homebrew fixed it for me. Thanks again for your time :)
Most helpful comment
@rickhanlonii Thanks for looking into it. Turned out that watchman wasn't behaving correctly. Simply re-installing it via homebrew fixed it for me. Thanks again for your time :)