From 4e4e94603a2cd08992b1f7748e0b1bd3983c4ed2 Mon Sep 17 00:00:00 2001 From: Dominik Ferber Date: Fri, 9 Oct 2015 09:11:21 +0200 Subject: [PATCH] chore(build): Increase mocha test timeout limit to 4s Previously build were failing on node 0.10, because the tests were timing out. This could also be seen in ESLint itself: eslint/eslint/issues/3692 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 8aee6af7a2..fb30e4c5b9 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "rule": "babel scripts/new-rule.js | node", "semantic-release": "semantic-release pre && npm publish && semantic-release post", "test": "npm run lint && npm run build && npm run unit-test && npm run check-coverage", - "unit-test": "istanbul cover --dir reports/coverage node_modules/mocha/bin/_mocha tests/**/*.js -- --reporter dot --compilers js:babel/register" + "unit-test": "istanbul cover --dir reports/coverage node_modules/mocha/bin/_mocha tests/**/*.js -- -t 4000 --reporter dot --compilers js:babel/register" }, "files": [ "LICENSE",