Skip to content

Commit 597f784

Browse files
committed
Add code coverage with Istanbul
1 parent 9b9b4ba commit 597f784

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"main": "service.js",
55
"scripts": {
66
"start": "node service.js",
7-
"test": "./node_modules/mocha/bin/mocha"
7+
"test": "nyc --reporter=lcov ./node_modules/mocha/bin/mocha"
88
},
99
"dependencies": {
1010
"numeral": "^2.0.0",
@@ -13,7 +13,8 @@
1313
"devDependencies": {
1414
"mocha": "^4.0.0",
1515
"chai": "^3.5.0",
16-
"chai-http": "^3.0.0"
16+
"chai-http": "^3.0.0",
17+
"nyc": "^11.2.0"
1718
},
1819
"private": "true"
1920
}

0 commit comments

Comments
 (0)