-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
switch to c8 for code coverage #6778
Conversation
|
@@ -68,16 +68,16 @@ | |||
"xpath": "~0.0.32" | |||
}, | |||
"scripts": { | |||
"coverage:test:core": "nyc npm run test:core", | |||
"coverage:test:frontend": "nyc --nycrc-path .nycrc-frontend.json npm run test:frontend", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
c8 defines its own config files (e.g. .c8rc.json) but it will happily accept the nyc-named files as well. For the moment I've opted to not rename these files because it's not necessary and because I figure it makes sense to try c8 for a while before fully committing
"coverage:test:package": "c8 npm run test:package", | ||
"coverage:test:entrypoint": "c8 npm run test:entrypoint", | ||
"coverage:test:integration": "c8 npm run test:integration", | ||
"coverage:test:services": "c8 npm run test:services", | ||
"coverage:clean": "rimraf .nyc_output coverage", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same theme here relative to a trial period for c8. Plus this directory will likely already exist on the local fs for regular contributors so doesn't hurt to keep it in here for a little while regardless
Thanks for picking this up! |
Resolves #6753