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
fix: Drop coverage produced by nyc --all for files that were tested (#1155)
* fix: Drop coverage produced by `nyc --all` for files that were tested
Sometimes the coverage data produced by `nyc --all` is incompatible with
the coverage data produced by actual test runs. This is generally due
to configuration error but results in inconsistent coverage reports or
in some cases causes `nyc report` to crash. The workaround is
implemented in istanbul-lib-coverage to drop coverage data associated
with `nyc --all` when coverage data from a test run is found. This
commit tags the coverage data when appropriate so the coverage merge
logic knows what to do.
Fixes#1113, #1124, #1148
0 commit comments