diff options
author | Johannes Zellner <johannes@nebulon.de> | 2016-03-03 10:54:18 +0100 |
---|---|---|
committer | Johannes Zellner <johannes@nebulon.de> | 2016-03-03 10:54:18 +0100 |
commit | f6edb78513bc1f2410a0890c42f3edd3fd34b84d (patch) | |
tree | bd2aee921e8d3ddaae552af3a3313895aaac681a | |
parent | dc22fed0feb42cf50720f1676fc41bb4b6f3c68c (diff) | |
download | Surfer-f6edb78513bc1f2410a0890c42f3edd3fd34b84d.tar.gz Surfer-f6edb78513bc1f2410a0890c42f3edd3fd34b84d.tar.zst Surfer-f6edb78513bc1f2410a0890c42f3edd3fd34b84d.zip |
make tests work with npm test
-rw-r--r-- | package.json | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/package.json b/package.json index 2f2e7e0..c9ce1e4 100644 --- a/package.json +++ b/package.json | |||
@@ -4,7 +4,7 @@ | |||
4 | "description": "Simple file server", | 4 | "description": "Simple file server", |
5 | "main": "app.js", | 5 | "main": "app.js", |
6 | "scripts": { | 6 | "scripts": { |
7 | "test": "echo \"Error: no test specified\" && exit 1" | 7 | "test": "./node_modules/mocha/bin/_mocha -R spec ./test" |
8 | }, | 8 | }, |
9 | "keywords": [ | 9 | "keywords": [ |
10 | "file", | 10 | "file", |
@@ -43,5 +43,13 @@ | |||
43 | "superagent": "^1.7.2", | 43 | "superagent": "^1.7.2", |
44 | "underscore": "^1.8.3" | 44 | "underscore": "^1.8.3" |
45 | }, | 45 | }, |
46 | "devDependencies": {} | 46 | "devDependencies": { |
47 | "expect.js": "^0.3.1", | ||
48 | "mocha": "^2.4.5", | ||
49 | "selenium-server-standalone-jar": "^2.52.0", | ||
50 | "selenium-webdriver": "^2.52.0" | ||
51 | }, | ||
52 | "scripts": { | ||
53 | "test": "./node_modules/mocha/bin/_mocha -R spec ./test/test.js" | ||
54 | } | ||
47 | } | 55 | } |