You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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 tothrow 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?
The text was updated successfully, but these errors were encountered: