diff options
author | Fabio Berger <me@fabioberger.com> | 2018-08-14 09:10:11 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-08-14 09:10:11 +0800 |
commit | b10cba600da44318f1d8246124c211ab92683626 (patch) | |
tree | bb1f0c546691e7ad9f7e419efb8d03263d921789 /packages/0x.js/test/global_hooks.ts | |
parent | 283175df9827be38f8cc9f18d3914e3661456fc4 (diff) | |
download | dexon-sol-tools-b10cba600da44318f1d8246124c211ab92683626.tar dexon-sol-tools-b10cba600da44318f1d8246124c211ab92683626.tar.gz dexon-sol-tools-b10cba600da44318f1d8246124c211ab92683626.tar.bz2 dexon-sol-tools-b10cba600da44318f1d8246124c211ab92683626.tar.lz dexon-sol-tools-b10cba600da44318f1d8246124c211ab92683626.tar.xz dexon-sol-tools-b10cba600da44318f1d8246124c211ab92683626.tar.zst dexon-sol-tools-b10cba600da44318f1d8246124c211ab92683626.zip |
Refactor 0x.js to simply re-export it's own sub-dependencies rather then wrapping them in a ZeroEx object
Diffstat (limited to 'packages/0x.js/test/global_hooks.ts')
-rw-r--r-- | packages/0x.js/test/global_hooks.ts | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/packages/0x.js/test/global_hooks.ts b/packages/0x.js/test/global_hooks.ts deleted file mode 100644 index 364828231..000000000 --- a/packages/0x.js/test/global_hooks.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { devConstants } from '@0xproject/dev-utils'; -import { runV2MigrationsAsync } from '@0xproject/migrations'; - -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; - this.timeout(mochaTestTimeoutMs); // tslint:disable-line:no-invalid-this - const txDefaults = { - gas: devConstants.GAS_LIMIT, - from: devConstants.TESTRPC_FIRST_ADDRESS, - }; - const artifactsDir = `../migrations/artifacts/2.0.0`; - await runV2MigrationsAsync(provider, artifactsDir, txDefaults); -}); |