Skip to content
This repository was archived by the owner on May 6, 2022. It is now read-only.
This repository was archived by the owner on May 6, 2022. It is now read-only.

Inaccurate code coverage metrics #28

@developher-net

Description

@developher-net

Test coverage numbers are incorrectly significantly lower than they should be because Jest cannot track coverage for spawned processes. The integration test runs the full installer as a spawned process, so we are effectively testing a lot more lines than code coverage would lead us to believe.

This is a limitation in Jest:
jestjs/jest#5274

Once workaround is to use NYC to capture code coverage (since it can track spawned processes) and then wrap that with Jest:
jestjs/jest#3190 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions