-
Notifications
You must be signed in to change notification settings - Fork 786
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
Zero coverage from export only files #930
Comments
I've been trying to add the |
For some reason, it seems only to apply to re-exports, thus an import with an export (or combined in one line like yours). |
Any update on this issue? I also tried to add the ignore but it doesn't work for me either. 😢 |
I have
index.ts
files which only export the default from another file, like so:export { default } from './pathToOtherFile'
The coverage on those files is reported at zero, although they are imported in the test file.
Adding
/* istanbul ignore next */
is a working workaround.Thanks!
The text was updated successfully, but these errors were encountered: