-
-
Notifications
You must be signed in to change notification settings - Fork 6.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Endless testing loop when using --watch and --coverage together. #979
Comments
Fixed this by specifying: {
"jest": {
"coverageDirectory": ".coverage/"
}
} in package.json I have been trying to trace the infinite watch loop in the code without luck. |
Fixed in #1515 and Jest 15 (released sometime this week). |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
It's just a guess, but I'm assuming that once the tests are complete, writing the coverage files causes a file system change and jest starts the test cycle over again. So, in the end, you run with these parameters, change some of your code, save, then jest tests, writes coverage, tests, writes coverage, etc... and it never stops. You have to kill the process.
The text was updated successfully, but these errors were encountered: