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
Code coverage failing on PRs #7893
Comments
@sosukesuzuki You are also facing the same issue right? |
@sidharthv96 yes, the action seems to fail if the test takes a long time to run. This is a problem, but unfortunately we will have to ignore it for now. |
Not sure how to fix it. @sidharthv96 Is this from github actions job? |
@fisker No, that was from my local.
This is from actions. I'm checking why jest stopped picking up the coverage. Do you know any recent commits that might've caused the issue? |
Local test don't collect coverage by default, you can run |
Seems it stopped collect coverage from jest upgrade commit. |
I used ENABLE_CODE_COVERAGE flag. |
Any chance there is a mock fs?
|
This is a bug in Jest, fix here: jestjs/jest#9724. I'll release a patch sometime today. "resolutions": {
"@jest/transform": "25.1.0"
} in package.json works in the meantime, or just reverting the upgrade for now. |
closed by #7901 |
The github workflow for coverage running on node 12 - ubuntu is consistently failing across PRs.
The text was updated successfully, but these errors were encountered: