We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I initially filed this bug on jest but I think the calculation error is coming from istanbuljs. jestjs/jest#14561
jest
Basically, the coverage calculation seems to have issues with a multi-line React.lazy call
React.lazy
// GOOD const PageA = React.lazy(() => import('./PATH_TO_FOLDER/PageA')) const ComponentB = React.lazy(() => import('./PATH_TO_FOLDER/ComponentB')) // INCORRECTLY SHOWN AS UNCOVERED LINE const ComponentWithLongNameOrPath = React.lazy(() => import('./PATH_TO_FOLDER/ComponentWithLongNameOrPath') )
The text was updated successfully, but these errors were encountered:
This bug is also present in jest. Any thoughts?
Sorry, something went wrong.
No branches or pull requests
I initially filed this bug on
jest
but I think the calculation error is coming from istanbuljs. jestjs/jest#14561Basically, the coverage calculation seems to have issues with a multi-line
React.lazy
callThe text was updated successfully, but these errors were encountered: