From 1c9635edad2992830ac7eab3a8b39f6246c8b18a Mon Sep 17 00:00:00 2001 From: Chris Clark Date: Wed, 18 Mar 2015 17:27:06 -0700 Subject: [PATCH] Increase timeout for mocha tests because sometimes tests fail on travis due to taking too long --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 1396939f..298ab335 100644 --- a/package.json +++ b/package.json @@ -50,7 +50,7 @@ "scripts": { "build": "node_modules/.bin/gulp", "pretest": "node_modules/.bin/gulp concat-sjcl", - "test": "./node_modules/.bin/istanbul test -x build/sjcl.js -x src/js/jsbn/* ./node_modules/mocha/bin/_mocha -- --reporter ${MOCHA_REPORTER:=spec} test/*-test.js", + "test": "./node_modules/.bin/istanbul test -x build/sjcl.js -x src/js/jsbn/* ./node_modules/mocha/bin/_mocha -- --reporter ${MOCHA_REPORTER:=spec} --timeout 10000 --slow 500 test/*-test.js", "coveralls": "cat ./coverage/lcov.info | ./node_modules/.bin/coveralls", "lint": "if ! [ -f eslintrc ]; then curl -o eslintrc 'https://raw.githubusercontent.com/ripple/javascript-style-guide/master/eslintrc'; fi; eslint --reset -c eslintrc src/js/ripple/*.js", "perf": "./scripts/perf_test.sh"