Add code coverage report with Istanbul
To generate the report run
$npm run-script cover
This commit is contained in:
@@ -1,3 +1,4 @@
|
|||||||
node_modules
|
node_modules
|
||||||
|
coverage
|
||||||
.idea
|
.idea
|
||||||
tmp
|
tmp
|
||||||
@@ -36,6 +36,7 @@
|
|||||||
},
|
},
|
||||||
"homepage": "https://github.com/larvit/larvitsmpp",
|
"homepage": "https://github.com/larvit/larvitsmpp",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
"cover": "istanbul cover _mocha",
|
||||||
"test": "mocha"
|
"test": "mocha"
|
||||||
},
|
},
|
||||||
"license": "MIT"
|
"license": "MIT"
|
||||||
|
|||||||
Reference in New Issue
Block a user