From a4cdec4fb17ae446208cdec9c562aedd4f7c9bdb Mon Sep 17 00:00:00 2001 From: Gard Rimestad Date: Fri, 14 Nov 2014 07:37:47 +0100 Subject: [PATCH] Run tests on port 4243, no need to stop local server when running tests. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index dde99953f1..6b96492e6d 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ "start": "NODE_ENV=production node server.js", "build": "./node_modules/.bin/webpack", "dev": "NODE_ENV=development supervisor --ignore ./node_modules/,./public/js server.js", - "test": "jshint server.js lib test && jsxhint public/js/**/*.jsx && mocha test test/*.js && npm run coverage", + "test": "export PORT=4243 ; jshint server.js lib test && jsxhint public/js/**/*.jsx && mocha test test/*.js && npm run coverage", "tdd": "mocha --watch test test/*", "test-bamboo-ci": "mocha test test/*", "coverage": "istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec",