diff options
author | Alex Browne <stephenalexbrowne@gmail.com> | 2018-10-10 04:57:02 +0800 |
---|---|---|
committer | Alex Browne <stephenalexbrowne@gmail.com> | 2018-10-16 04:37:57 +0800 |
commit | 6c8fb370dc562b128fc24a19e3f7bbf8b5381425 (patch) | |
tree | da516616c782d5c6e5f7c7df50927e69c51e9059 /packages/order-watcher/test/global_hooks.ts | |
parent | a48e0a08bf4ea8a8fb0f08cfe5187a6291378afb (diff) | |
download | dexon-sol-tools-6c8fb370dc562b128fc24a19e3f7bbf8b5381425.tar dexon-sol-tools-6c8fb370dc562b128fc24a19e3f7bbf8b5381425.tar.gz dexon-sol-tools-6c8fb370dc562b128fc24a19e3f7bbf8b5381425.tar.bz2 dexon-sol-tools-6c8fb370dc562b128fc24a19e3f7bbf8b5381425.tar.lz dexon-sol-tools-6c8fb370dc562b128fc24a19e3f7bbf8b5381425.tar.xz dexon-sol-tools-6c8fb370dc562b128fc24a19e3f7bbf8b5381425.tar.zst dexon-sol-tools-6c8fb370dc562b128fc24a19e3f7bbf8b5381425.zip |
Update order-watcher to use new migrations functions
Diffstat (limited to 'packages/order-watcher/test/global_hooks.ts')
-rw-r--r-- | packages/order-watcher/test/global_hooks.ts | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/packages/order-watcher/test/global_hooks.ts b/packages/order-watcher/test/global_hooks.ts index 49340f9e1..26c37158f 100644 --- a/packages/order-watcher/test/global_hooks.ts +++ b/packages/order-watcher/test/global_hooks.ts @@ -1,16 +1,6 @@ -import { devConstants } from '@0xproject/dev-utils'; -import { runMigrationsAsync } from '@0xproject/migrations'; - -import { provider } from './utils/web3_wrapper'; - -before('migrate contracts', async function(): Promise<void> { +before('set up mocha', 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 = 25000; this.timeout(mochaTestTimeoutMs); // tslint:disable-line:no-invalid-this - const txDefaults = { - gas: devConstants.GAS_LIMIT, - from: devConstants.TESTRPC_FIRST_ADDRESS, - }; - await runMigrationsAsync(provider, txDefaults); }); |