-
Notifications
You must be signed in to change notification settings - Fork 24.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
Invalid code coverage with react-native/jest/preprocessor.js #20404
Comments
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as "For Discussion" or "Good first issue" and I will leave it open. Thank you for your contributions. |
@retyui Did you find a solution to this? I am also having issues with code coverage reports after upgrading to react-native 0.57 |
@Traviskn I didn't find a solution to this problem |
@retyui I think we must open this issue again. This does not make sense I see exact same thing and this does not mkae sense my team has a mandate for 80% code coverage per component and I do not think anyone can achieve it with this bug |
I recognize this issue exists but it's unlikely anyone will spend time on fixing this. I'll close this issue but if you need this fixed I recommend investigating and sending a PR with a fix :) |
I'm just using |
Environment
Description
We use js Generators in own project, and when we run test
jest --coverage
we have a bad result because of thereact-native/jest/preprocessor.js
polyfilledfunction*(){}
and create some helper function that affect to coverage resultReproducible Demo
Info: https://gist.github.com/retyui/760ff91c0fab7310f8cea8c7e5c43978
Result:
The text was updated successfully, but these errors were encountered: