You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 6, 2022. It is now read-only.
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.
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)