diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-06-09 06:09:54 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-06-09 06:27:59 +0800 |
commit | 6d5949ba9c3fe8e99bee2ae8f5b6fac47211b18b (patch) | |
tree | 002e5f952bc5d06d4e7a5680bc0bbfbf07931b79 /packages | |
parent | cdb165af7f421f06647bcd61205acc3d33c24155 (diff) | |
download | dexon-0x-contracts-6d5949ba9c3fe8e99bee2ae8f5b6fac47211b18b.tar.gz dexon-0x-contracts-6d5949ba9c3fe8e99bee2ae8f5b6fac47211b18b.tar.zst dexon-0x-contracts-6d5949ba9c3fe8e99bee2ae8f5b6fac47211b18b.zip |
Increase timeout for contract migrations
Diffstat (limited to 'packages')
-rw-r--r-- | packages/contract-wrappers/test/global_hooks.ts | 2 | ||||
-rw-r--r-- | packages/metacoin/package.json | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/packages/contract-wrappers/test/global_hooks.ts b/packages/contract-wrappers/test/global_hooks.ts index 9d6903af5..52a384ada 100644 --- a/packages/contract-wrappers/test/global_hooks.ts +++ b/packages/contract-wrappers/test/global_hooks.ts @@ -6,7 +6,7 @@ import { provider } from './utils/web3_wrapper'; before('migrate contracts', async function(): Promise<void> { // HACK: Since the migrations take longer then our global mocha timeout limit // we manually increase it for this before hook. - const mochaTestTimeoutMs = 20000; + const mochaTestTimeoutMs = 50000; this.timeout(mochaTestTimeoutMs); const txDefaults = { gas: devConstants.GAS_LIMIT, diff --git a/packages/metacoin/package.json b/packages/metacoin/package.json index 74b55b592..335bf66ac 100644 --- a/packages/metacoin/package.json +++ b/packages/metacoin/package.json @@ -17,7 +17,7 @@ "test": "yarn run_mocha", "rebuild_and_test": "run-s build test", "test:coverage": "SOLIDITY_COVERAGE=true run-s build run_mocha coverage:report:text coverage:report:lcov", - "run_mocha": "mocha --require source-map-support/register lib/test/**/*_test.js lib/test/global_hooks.js --bail --exit", + "run_mocha": "mocha --require source-map-support/register lib/test/**/*_test.js lib/test/global_hooks.js --bail --exit --timeout 10000", "generate_contract_wrappers": "abi-gen --abis 'artifacts/Metacoin.json' --template ../contract_templates/contract.handlebars --partials '../contract_templates/partials/**/*.handlebars' --output src/contract_wrappers --backend ethers", "coverage:report:text": "istanbul report text", "coverage:report:html": "istanbul report html && open coverage/index.html", |