Open MattRoss34 opened 3 years ago
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
@MattRoss34 Did you find a solution to this? Experiencing exactly the same issue here right now.
We have a default configuration specified in our .nycrc with the following:
In each package, we override with package-specific settings via the
nyc
package.json stanza:With nyc
14.1.1
this worked fine, but after upgrading to nyc15.1.0
this seems to be broken/switched. i.e. the .nycrc coverage config now takes precedence.Link to bug demonstration repository
Expected Behavior
Coverage specs in the package.json
"nyc"
stanza should override coverage specs in the.nycrc
file.Observed Behavior
The coverage specs in the
.nycrc
file are taking precedence over the package.json config.Troubleshooting steps
lines
,statements
,functions
, andbranches
config to100
in .nycrc and tests started failing.lines
,statements
,functions
, andbranches
config from .nycrc and tests started failing due to package.json specs.Environment Information