Commit f6edb785 by Johannes Zellner

make tests work with npm test

1 parent dc22fed0
Showing with 10 additions and 2 deletions
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
"description": "Simple file server", "description": "Simple file server",
"main": "app.js", "main": "app.js",
"scripts": { "scripts": {
"test": "echo \"Error: no test specified\" && exit 1" "test": "./node_modules/mocha/bin/_mocha -R spec ./test"
}, },
"keywords": [ "keywords": [
"file", "file",
...@@ -43,5 +43,13 @@ ...@@ -43,5 +43,13 @@
"superagent": "^1.7.2", "superagent": "^1.7.2",
"underscore": "^1.8.3" "underscore": "^1.8.3"
}, },
"devDependencies": {} "devDependencies": {
"expect.js": "^0.3.1",
"mocha": "^2.4.5",
"selenium-server-standalone-jar": "^2.52.0",
"selenium-webdriver": "^2.52.0"
},
"scripts": {
"test": "./node_modules/mocha/bin/_mocha -R spec ./test/test.js"
}
} }
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!