Skip to content
This repository has been archived by the owner on Mar 28, 2023. It is now read-only.

Commit

Permalink
Merge pull request #474 from keep-network/bump-timeout
Browse files Browse the repository at this point in the history
Increase mocha test timeout

- The default 2 seconds sometimes hangs on CI.
- Increasing it to 5s should be enough for those large beforeAll
  hooks.
  • Loading branch information
Shadowfiend committed Feb 20, 2020
2 parents d814d8d + 5f7e24e commit 3c80db0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion implementation/package.json
Expand Up @@ -6,7 +6,7 @@
"scripts": {
"clean": "rm -rf build/",
"compile": "truffle compile",
"test": "truffle compile && mocha --exit --recursive test",
"test": "truffle compile && mocha --exit --recursive test --timeout 5000",
"quick-test": "mocha --exit --recursive test",
"test:debug": "NODE_ENV=test node --inspect node_modules/.bin/truffle test",
"js:lint": "eslint ${npm_package_config_eslintPaths}",
Expand Down

0 comments on commit 3c80db0

Please sign in to comment.