Open beyerleinf opened 2 years ago
I don't believe this behavior was ever implemented in v8-to-istanbul
.
In case it matters, I just noticed that this also happens for files that only contain interfaces - which is pretty annoying 😄
I have the same issue.
Same here
i have the 'interface-only' issue, any workarounds?
As the title states, I found an issue with ignore statements in barrel/index files that just re-export other modules. Coverage gets reported incorrectly and the ignore comments actually add statements to the file. Also, I think
/* c8 ignore file */
would be nice 😊Example repo: beyerleinf/c8-barrel-test - just run
npm t
and opencoverage/index.html
.