Skip to content

Commit

Permalink
Update c8 configuration (#10361)
Browse files Browse the repository at this point in the history
* Update c8 configuration

* Update .gitignore
  • Loading branch information
PyvesB authored Jul 13, 2024
1 parent 5e36dc0 commit 6b0b88d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
7 changes: 4 additions & 3 deletions .nycrc.json → .c8rc.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,8 @@
"**/test-helpers.js",
"**/*-test-helpers.js",
"**/*-fixtures.js",
"**/mocha-*.js",
"**/*.test-d.ts",
"dangerfile.js",
"gatsby-*.js",
"core/service-test-runner",
"core/got-test-client.js",
"services/**/*.tester.js",
Expand All @@ -23,6 +21,9 @@
"coverage",
"build",
".github",
"**/public/"
"**/public/",
"cypress",
"frontend",
"migrations"
]
}
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,6 @@ lib-cov
# Coverage directory used by tools like istanbul
coverage

# nyc test coverage
.nyc_output

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
"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",
"coverage:clean": "rimraf coverage",
"precoverage:test": "cross-env BASE_URL=http://localhost:8080 run-s --silent coverage:clean defs",
"coverage:test": "run-s --silent --continue-on-error coverage:test:core coverage:test:package coverage:test:entrypoint coverage:test:integration",
"coverage:report:generate": "c8 report",
Expand Down

0 comments on commit 6b0b88d

Please sign in to comment.