After first having issues with zero coverage, now I have basically the opposite problem of #5 — every line is marked as covered.
Once I solved issues like #23 and providing rewritePath to fix any path issues, I saw code coverage information trickling in. However, it turns out that for some reason every single line in every single file is marked as covered, even though that can't be true.
This is not necessarily a bug in this package, but I am opening this issue here to get some help with figuring out the root cause and how to address it.
From what I can tell, source map extraction etc. works fine, so maybe it's an issue within convertToIstanbulCoverage?
After first having issues with zero coverage, now I have basically the opposite problem of #5 — every line is marked as covered.
Once I solved issues like #23 and providing
rewritePath
to fix any path issues, I saw code coverage information trickling in. However, it turns out that for some reason every single line in every single file is marked as covered, even though that can't be true.This is not necessarily a bug in this package, but I am opening this issue here to get some help with figuring out the root cause and how to address it.
From what I can tell, source map extraction etc. works fine, so maybe it's an issue within
convertToIstanbulCoverage
?My WIP code can be found here: https://github.com/swissspidy/media-experiments/pull/235