Skip to content

Commit 1560138

Browse files
author
Vadim Demedes
committed
Merge pull request #385 from jamestalmage/better-test-scripts
Improve test scripts
2 parents 974ab6f + e1b2508 commit 1560138

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

package.json

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,8 @@
3737
"node": ">=0.10.0"
3838
},
3939
"scripts": {
40-
"test": "xo && tap --coverage --reporter=spec --timeout=150 test/*.js test/reporters/*.js",
41-
"test-win": "tap --reporter=spec --timeout=150 test/*.js test/reporters/*.js",
42-
"coverage": "tap --coverage-report=lcov"
40+
"test": "xo && nyc --reporter=lcov --reporter=text tap --no-cov --timeout=150 test/*.js test/reporters/*.js",
41+
"test-win": "tap --no-cov --reporter=classic --timeout=150 test/*.js test/reporters/*.js"
4342
},
4443
"files": [
4544
"lib",
@@ -130,14 +129,6 @@
130129
"xo": "*",
131130
"zen-observable": "^0.1.6"
132131
},
133-
"config": {
134-
"nyc": {
135-
"exclude": [
136-
"node_modules[/\\\\]",
137-
"test[/\\\\]"
138-
]
139-
}
140-
},
141132
"xo": {
142133
"ignore": [
143134
"cli.js"

0 commit comments

Comments
 (0)