add istanbul coverage

This commit is contained in:
Thomas Ruoff
2016-03-06 18:54:59 +01:00
parent 15faee38c9
commit 77c1f3c674
2 changed files with 3 additions and 1 deletions

View File

@@ -4,7 +4,7 @@
"description": "Simple helper for turning on/off connected/disconnected monitors with xrandr",
"main": "cli.js",
"scripts": {
"test": "mocha",
"test": "istanbul cover _mocha",
"testwatch": "mocha -w"
},
"bin": {
@@ -30,6 +30,7 @@
"xrandr-parse": "^0.1.1"
},
"devDependencies": {
"istanbul": "^0.4.2",
"mocha": "^2.4.5",
"proxyquire": "^1.7.4",
"sinon": "^1.17.3"