playwright-test-coverage
playwright-test-coverage copied to clipboard
Incomplete coverage report?
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.
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?