aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contract-wrappers/test/global_hooks.ts
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-10-17 02:15:17 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-10-17 02:15:17 +0800
commitdbf5be6c217b49c4b768a9ea9969d44d70fb3dcc (patch)
treea93d0d6864c3e0f37c2663a6ba9ae0d3e7813fe9 /packages/contract-wrappers/test/global_hooks.ts
parentd268e19124f086128aa293c5fe847f81891f7121 (diff)
parent72f5719b3412da7840a7b85e4dce512ecbaece4d (diff)
downloaddexon-0x-contracts-dbf5be6c217b49c4b768a9ea9969d44d70fb3dcc.tar.gz
dexon-0x-contracts-dbf5be6c217b49c4b768a9ea9969d44d70fb3dcc.tar.zst
dexon-0x-contracts-dbf5be6c217b49c4b768a9ea9969d44d70fb3dcc.zip
Merge branch 'development' of https://github.com/0xProject/0x-monorepo into feature/instant/move-features-over-from-zrx-buyer
Diffstat (limited to 'packages/contract-wrappers/test/global_hooks.ts')
-rw-r--r--packages/contract-wrappers/test/global_hooks.ts13
1 files changed, 1 insertions, 12 deletions
diff --git a/packages/contract-wrappers/test/global_hooks.ts b/packages/contract-wrappers/test/global_hooks.ts
index 8731318e7..e23739b59 100644
--- a/packages/contract-wrappers/test/global_hooks.ts
+++ b/packages/contract-wrappers/test/global_hooks.ts
@@ -1,17 +1,6 @@
-import { devConstants } from '@0xproject/dev-utils';
-import { runV2MigrationsAsync } 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 = 50000;
this.timeout(mochaTestTimeoutMs); // tslint:disable-line:no-invalid-this
- const txDefaults = {
- gas: devConstants.GAS_LIMIT,
- from: devConstants.TESTRPC_FIRST_ADDRESS,
- };
- const artifactsDir = `src/artifacts`;
- await runV2MigrationsAsync(provider, artifactsDir, txDefaults);
});