Skip to content

Commit 447b1be

Browse files
author
Vadim Demedes
committed
Merge pull request #237 from sindresorhus/fix-tap-coverage
Fix coverage when using tap
2 parents 578173d + 5cf2428 commit 447b1be

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

package.json

+2-3
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@
3232
"node": ">=0.10.0"
3333
},
3434
"scripts": {
35-
"test": "xo && nyc tap --timeout=150 test/*.js | tap-spec",
36-
"test-win": "tap --timeout=150 test/*.js | tap-spec",
35+
"test": "xo && tap --coverage --reporter=spec --timeout=150 test/*.js",
36+
"test-win": "tap --coverage --reporter=spec --timeout=150 test/*.js",
3737
"coveralls": "nyc report --reporter=text-lcov | coveralls"
3838
},
3939
"files": [
@@ -105,7 +105,6 @@
105105
"nyc": "^3.2.2",
106106
"signal-exit": "^2.1.2",
107107
"tap": "^2.2.1",
108-
"tap-spec": "^4.1.0",
109108
"xo": "*",
110109
"zen-observable": "^0.1.6"
111110
}

0 commit comments

Comments
 (0)