Skip to content

Commit 21f05d5

Browse files
committed
add tap-spec to package.json and test script to "prettify" test output see: https://github.com/dwyl/learn-tape
1 parent 41dd1a6 commit 21f05d5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,15 @@
1919
"pre-commit": "^1.2.2",
2020
"qunit-tap": "^1.5.1",
2121
"qunitjs": "^2.3.2",
22+
"tap-spec": "^5.0.0",
2223
"tape": "^4.9.1"
2324
},
2425
"scripts": {
2526
"check-coverage": "istanbul check-coverage --statements 100 --functions 100 --lines 100 --branches 100",
2627
"postinstall": "npm test",
2728
"retest": "PORT=8000 node_modules/.bin/nodemon ./test/*.js",
2829
"start": "live-server --port=8000 --open=./examples",
29-
"test": "istanbul cover tape ./test/*.test.js"
30+
"test": "istanbul cover tape ./test/*.test.js | tap-spec"
3031
},
3132
"keywords": [
3233
"Elm",

0 commit comments

Comments
 (0)