Skip to content

Commit 34579c8

Browse files
committed
fix: remove quotes to use node native test runner
1 parent 318b7c8 commit 34579c8

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@
1414
"lint": "eslint --fix .",
1515
"test": "npm run lint && npm run test:integration && npm run coverage && npm run test:types",
1616
"test:nolint": "npm run test:integration && npm run coverage && npm run test:types",
17-
"test:unit": "node --test 'test/unit/**/*-test.js'",
18-
"test:integration": "node --test --test-concurrency=1 'test/integration/**/*-test.js'",
17+
"test:unit": "node --test test/unit/**/*-test.js",
18+
"test:integration": "node --test --test-concurrency=1 test/integration/*-test.js",
1919
"test:types": "tsd --files types/*.test-d.ts",
20-
"coverage": "node -e \"require('fs').mkdirSync('coverage', {recursive: true})\" && node --test --experimental-test-coverage --test-reporter=spec --test-reporter=lcov --test-reporter-destination=stdout --test-reporter-destination=coverage/lcov.info 'test/unit/**/*-test.js'",
21-
"coverage:text": "node --test --experimental-test-coverage --test-reporter=spec 'test/unit/**/*-test.js'",
22-
"coverage:lcov": "node -e \"require('fs').mkdirSync('coverage', {recursive: true})\" && node --test --experimental-test-coverage --test-reporter=lcov --test-reporter-destination=coverage/lcov.info 'test/unit/**/*-test.js'",
23-
"coverage:all": "node -e \"require('fs').mkdirSync('coverage', {recursive: true})\" && node --test --experimental-test-coverage --test-reporter=spec --test-reporter=lcov --test-reporter-destination=stdout --test-reporter-destination=coverage/lcov.info 'test/unit/**/*-test.js' 'test/integration/**/*-test.js'",
20+
"coverage": "node -e \"require('fs').mkdirSync('coverage', {recursive: true})\" && node --test --experimental-test-coverage --test-reporter=spec --test-reporter=lcov --test-reporter-destination=stdout --test-reporter-destination=coverage/lcov.info test/unit/**/*-test.js",
21+
"coverage:text": "node --test --experimental-test-coverage --test-reporter=spec test/unit/**/*-test.js",
22+
"coverage:lcov": "node -e \"require('fs').mkdirSync('coverage', {recursive: true})\" && node --test --experimental-test-coverage --test-reporter=lcov --test-reporter-destination=coverage/lcov.info test/unit/**/*-test.js",
23+
"coverage:all": "node -e \"require('fs').mkdirSync('coverage', {recursive: true})\" && node --test --experimental-test-coverage --test-reporter=spec --test-reporter=lcov --test-reporter-destination=stdout --test-reporter-destination=coverage/lcov.info test/unit/**/*-test.js test/integration/*-test.js",
2424
"rc": "npm version prerelease --preid RC"
2525
},
2626
"engines": {

0 commit comments

Comments
 (0)