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
I want to generate all code coverage data but only show some files' coverage in the final report.
I found the --include option doesn't work in the nyc report command.
Is there a way to make it work in nyc report ? Or is there any workaround?
I found the merged coverage.json contains all files' coverage data. Can I modify the coverage.json' by keeping the file entries I am interested in, removing others, and then using the modified json as the input to nyc report` ?
Link to bug demonstration repository
N/A
Expected Behavior
--include and --exclude options should work in nyc report
Observed Behavior
--include and --exclude options don't work in the command nyc report
Troubleshooting steps
still occurring when I put cache: false in my nyc config
Environment Information
N/A
The text was updated successfully, but these errors were encountered:
I want to generate all code coverage data but only show some files' coverage in the final report.
I found the
--include
option doesn't work in thenyc report
command.Is there a way to make it work in
nyc report
? Or is there any workaround?I found the merged
coverage.json
contains all files' coverage data. Can I modify thecoverage.json' by keeping the file entries I am interested in, removing others, and then using the modified json as the input to
nyc report` ?Link to bug demonstration repository
N/A
Expected Behavior
--include
and--exclude
options should work innyc report
Observed Behavior
--include
and--exclude
options don't work in the commandnyc report
Troubleshooting steps
cache: false
in my nyc configEnvironment Information
N/A
The text was updated successfully, but these errors were encountered: