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
{{ message }}
This repository has been archived by the owner on Jan 16, 2025. It is now read-only.
I switched from ts-jest to swc-jest - everything works but noticed that
/* istanbul ignore next */
export default function ...
that code coverage picks up those lines from the function (when I want them ignored). I'm confused grepping through github on what I should do to get it to work. Should I add preserveAllComments in .swcrc (that didn't seem to work) or try something else?
The text was updated successfully, but these errors were encountered:
preserveAllComments works for the most part -- it seems to flag this as not covered, which seems odd given that it should be ignoring the whole arrow func.
I switched from ts-jest to swc-jest - everything works but noticed that
that code coverage picks up those lines from the function (when I want them ignored). I'm confused grepping through github on what I should do to get it to work. Should I add
preserveAllComments
in.swcrc
(that didn't seem to work) or try something else?The text was updated successfully, but these errors were encountered: