tests for getDevices

This commit is contained in:
Thomas Ruoff
2016-03-06 00:59:18 +01:00
parent dc0552c10d
commit 85cb7ba3f8
2 changed files with 82 additions and 1 deletions

View File

@@ -4,7 +4,7 @@
"description": "Simple helper for turning on/off connected/disconnected monitors with xrandr",
"main": "indes.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"test": "mocha"
},
"bin": {
"swm": "./cli.js"
@@ -27,5 +27,10 @@
"minimist": "^1.2.0",
"xdg": "^0.1.1",
"xrandr-parse": "^0.1.1"
},
"devDependencies": {
"mocha": "^2.4.5",
"proxyquire": "^1.7.4",
"sinon": "^1.17.3"
}
}