3.0.0-beta.15
https://github.com/jbenner-radham/vue-cli-jest-test
Via the CLI:
vue create <app-name>
cd <app-name>
yarn test:unit
The unit tests to run and complete successfully.
The test service hangs indefinitely e.g.
➜ vue-cli-jest-test git:(master) yarn test:unit
yarn run v1.7.0
$ vue-cli-service test:unit
Can't reproduce - can you provide your OS / Node / package manager information?
Sure thing.
Closing stale issues that cannot be reproduced.
@jbenner-radham I have the same problem with
Did you finally got a solution for this problem?
@bierik Nope, I'm afraid not. Sorry.
Same problem. yarn test:unit
runs indefinitely
Tried: reinstalling node modules, clearing node modules cache, different yarn, node, npm and vue-cli versions.
We've tried copying the node_modules of a computer where the unit tests are running. No success.
Tests are running on my co-workers computer, he has the same versions apart from the OS (he's running Mojave 10.14.1)
Update:
Updating to OS Mojave didn't matter either (longshot)
yarn test:unit --no-watchman
fixes it for me
Or better, on OSX:
brew uninstall watchman
brew install watchman
After I was able to run the tests normally again:
yarn test:unit
Reinstalling watchman
worked for me too, thanks!
Bump, plus reinstalling fixed it for me as well.
Oh confused until found this issue, since I clicked "No" when it prompted a request from watchman in one second, didn't know what it was.
"Reinstalling the watchman" works for me
-- https://github.com/vuejs/vue-cli/issues/1435#issuecomment-443639367
i'm having this issue on ubuntu 12.04 it is also related to watchman or something similar ?
Most helpful comment
Or better, on OSX:
brew uninstall watchman
brew install watchman
After I was able to run the tests normally again:
yarn test:unit