Skip to content
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

Incomplete coverage report? #22

Open
FezVrasta opened this issue Apr 18, 2024 · 0 comments
Open

Incomplete coverage report? #22

FezVrasta opened this issue Apr 18, 2024 · 0 comments

Comments

@FezVrasta
Copy link

Hi, thanks for the library.

For some reason some React components that are part of the pages I'm testing don't result covered, here's an example.

CleanShot 2024-04-18 at 4  47 06@2x

The export is marked as covered but the component itself doesn't, but I am 100% sure the component is being rendered in the page. I tried to throw new Error("nyc") from it and the test failed with the expected error message.

I'm using Next.js 13.5.4 with swc-plugin-coverage-instrument.

Do you know what could be going on here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant