Closed alocus closed 5 years ago
Is this still happening for you with a fresh clone? I've made some changes to the Jest config and updated some dependencies, which may have fixed the issue.
@chrisvfritz I have been getting very interesting result. I did a git pull and remove the node_modules folder to try reset my workspace.
The results of "yarn test" are not consistent, Sometimes I got 1 failed, 17 passed or 2 failed, 16 passed.
And same thing happen to "npm run test", I got different results. Nonetheless, I got one 'yarn test' with all passes out of 10+ times I ran it.
I assume it is my environment that is messed up as it seems I am the only person who has this issue.
Yes, it's very strange. 😅 It does sound like it might be some kind of environment-specific bug (probably in vue-jest). It sounds like this issue, so I'd add your case there.
It could be interesting to see if Jest's --no-cache
option has any effect. And in the meantime, you can probably work around this by setting experimentalCSSCompile
to false
.
Since it seems likely to be a very environment-specific issue in vue-jest, I'll close this issue for now in favor of https://github.com/vuejs/vue-jest/issues/99.
Thanks for this great boilerplate. I am new to it and decided to check it out.
'yarn test' has 17 failed test cases. And I am assuming that could be some setting related to webpack or alias, but I can't figure it out. Please advice.