Skip to content

Commit 33e2623

Browse files
authored
Disable native code coverage until is stable (#128)
Signed-off-by: Matteo Collina <[email protected]>
1 parent 8ba3d99 commit 33e2623

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

lib/run.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,7 @@ export default async function runWithTypeScript (config) {
221221

222222
config.files = files
223223

224+
config.coverage = false
224225
stream = run(config)
225226

226227
stream.on('close', () => {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"scripts": {
1515
"clean": "rm -rf fixtures/*/dist .test-*",
1616
"lint": "standard | snazzy",
17-
"unit": "node borp.js --ignore \"fixtures/**/*\" --coverage --coverage-exclude \"fixtures/**/*\" --coverage-exclude \"test*/**/*\"",
17+
"unit": "node borp.js --ignore \"fixtures/**/*\" -C --coverage-exclude \"fixtures/**/*\" --coverage-exclude \"test*/**/*\"",
1818
"test": "npm run clean ; npm run lint && npm run unit"
1919
},
2020
"keywords": [],

test/coverage.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ test('coverage', async () => {
2222
test('coverage excludes', async () => {
2323
const res = await execa('node', [
2424
borp,
25-
'--coverage',
25+
'-C',
2626
'--coverage-exclude=src'
2727
], {
2828
cwd: join(import.meta.url, '..', 'fixtures', 'ts-esm')

0 commit comments

Comments
 (0)