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
This commit is contained in:
Dominik Ferber
2015-10-09 09:11:21 +02:00
parent 70998835c1
commit 4e4e94603a

View File

@@ -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",