-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
Jest 16: coverage empty with collectCoverageFrom #1849
Comments
Can you provide a repository that highlights this issue so we can fix it? :) |
If you remove
Another issue I found is that the command-line argument jext-config.json:
UPDATE UPDATE 2 |
@difelice does it work if you provide the argument |
@cpojer @difelice thank you very much! Working without rootDir.
|
@cpojer jest-cli seems to ignore or override |
It's quite confusing that |
Agree, it's really not intuitive design 😞 I've spend a few minutes googling why it fails. |
@19majkel94 check out latest version https://github.com/facebook/jest/blob/master/CHANGELOG.md#chore--maintenance 😉 EDIT: in case the link breaks: #5524 |
@thymikee Thanks, I've installed |
I am getting this issue with jest version "24.9.0". Added the below option. if I remove this option, it works. It was working fine, but, then, when I did a fresh install, it started failing. I am guessing, some dependency package got updated? |
Hi All, We are also facing the same issue, our pipelines were working fine untill past few days & suddenly the coverage started showing as 0. Any help is much appreciated. INFO] ----------|----------|----------|----------|----------|-------------------| [ERROR] Test Suites: 0 of 521 total |
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. |
Hi,
I've just upgraded to jest 16, and since my test coverage are empty.
If I remove the
collectCoverageFrom
option from the config it seams to works 😳Apart from that, loving the new features 😍Keep it up 🍻
The text was updated successfully, but these errors were encountered: