Skip to content
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

Disable native code coverage until is stable #128

Merged
merged 1 commit into from
Nov 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions lib/run.js
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,7 @@ export default async function runWithTypeScript (config) {

config.files = files

config.coverage = false
stream = run(config)

stream.on('close', () => {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"scripts": {
"clean": "rm -rf fixtures/*/dist .test-*",
"lint": "standard | snazzy",
"unit": "node borp.js --ignore \"fixtures/**/*\" --coverage --coverage-exclude \"fixtures/**/*\" --coverage-exclude \"test*/**/*\"",
"unit": "node borp.js --ignore \"fixtures/**/*\" -C --coverage-exclude \"fixtures/**/*\" --coverage-exclude \"test*/**/*\"",
"test": "npm run clean ; npm run lint && npm run unit"
},
"keywords": [],
Expand Down
2 changes: 1 addition & 1 deletion test/coverage.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ test('coverage', async () => {
test('coverage excludes', async () => {
const res = await execa('node', [
borp,
'--coverage',
'-C',
'--coverage-exclude=src'
], {
cwd: join(import.meta.url, '..', 'fixtures', 'ts-esm')
Expand Down
Loading