Open zakrush opened 3 years ago
I'm encountering the same problem, has anyone had a chance to look into this? I'm not even trying to exclude anything from my report.
I ran a cypress test with @cypress/code-coverage
instrumentation which generated a .nyc_output/out.json
file and attempted to generate the report with npx nyc report --reporter=text-summary
and the output was empty. I have no other nyc configuration present.
If I add on the --exclude-after-remap=false
, the summary shows actual results.
Any resolution to this issue?
Link to bug demonstration repository
I'm use complited cov.json that was generated by https://gitlab.com/gitlab-org/security-products/analyzers/fuzzers/jsfuzz
In my case I give many cov.json from different jobs of tool above. Every job are working into some docker. Then I merged reports from all dockers into one and tryed to build report into job of new docker with needed envirounment. I use option
--exclude-after-remap=false
becouse without it I get clear report. The same trouble as here: https://github.com/istanbuljs/nyc/issues/1172My shell for build report:
After it I see "tests/" for example and other custom excluded.
:
Expected Behavior
Can't exclude custom modules from report nyc.
Observed Behavior
Troubleshooting steps
Environment Information
paste the output here