Skip to content

Commit 07f8b68

Browse files
authored
Do not run nyc on npm test task. (#570)
Since, nyc 15.0+ is unstable... istanbuljs/nyc#1263
1 parent a4f740a commit 07f8b68

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
],
1414
"scripts": {
1515
"pretest": "npm run format && npm run build",
16-
"test": "TEST_PORT=1234 TS_NODE_CACHE=0 nyc mocha",
16+
"test": "TEST_PORT=1234 TS_NODE_CACHE=0 mocha",
17+
"covtest": "TEST_PORT=1234 TS_NODE_CACHE=0 nyc mocha",
1718
"prettier": "prettier \"{lib,test}/**/*.ts\"",
1819
"format": "npm run prettier -- --write",
1920
"format:check": "npm run prettier -- -l",

0 commit comments

Comments
 (0)