1
0
mirror of https://github.com/badges/shields.git synced 2025-04-17 08:37:04 +03:00

Update c8 configuration (#10361)

* Update c8 configuration

* Update .gitignore
This commit is contained in:
Pierre-Yves Bigourdan 2024-07-13 20:59:51 +02:00 committed by GitHub
parent 5e36dc0a8f
commit 6b0b88d29a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 5 additions and 7 deletions

View File

@ -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",
@ -23,6 +21,9 @@
"coverage",
"build",
".github",
"**/public/"
"**/public/",
"cypress",
"frontend",
"migrations"
]
}

3
.gitignore vendored
View File

@ -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

View File

@ -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",