Skip to content

Every line is marked as being covered #24

@swissspidy

Description

@swissspidy

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.

=============================== Coverage summary ===============================
Statements   : 100% ( 8717/8717 )
Branches     : 100% ( 0/0 )
Functions    : 100% ( 0/0 )
Lines        : 100% ( 8717/8717 )

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: swissspidy/media-experiments#235

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions