aboutsummaryrefslogtreecommitdiffstats
path: root/packages/0x.js/test/0x.js_test.ts
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-04-09 16:14:25 +0800
committerFabio Berger <me@fabioberger.com>2018-04-09 16:14:25 +0800
commit919b327fc534e3c2dc6330130cee690f0fa39fea (patch)
treefd58793bcd44f0c50e143f8f07c359e444ec34ee /packages/0x.js/test/0x.js_test.ts
parente05b55d4a5698d3e936e7164ed69d9417d12cd12 (diff)
downloaddexon-sol-tools-919b327fc534e3c2dc6330130cee690f0fa39fea.tar
dexon-sol-tools-919b327fc534e3c2dc6330130cee690f0fa39fea.tar.gz
dexon-sol-tools-919b327fc534e3c2dc6330130cee690f0fa39fea.tar.bz2
dexon-sol-tools-919b327fc534e3c2dc6330130cee690f0fa39fea.tar.lz
dexon-sol-tools-919b327fc534e3c2dc6330130cee690f0fa39fea.tar.xz
dexon-sol-tools-919b327fc534e3c2dc6330130cee690f0fa39fea.tar.zst
dexon-sol-tools-919b327fc534e3c2dc6330130cee690f0fa39fea.zip
Move migrations into separate monorepo subpackage and hook it up to 0x.js and contracts
Diffstat (limited to 'packages/0x.js/test/0x.js_test.ts')
-rw-r--r--packages/0x.js/test/0x.js_test.ts5
1 files changed, 4 insertions, 1 deletions
diff --git a/packages/0x.js/test/0x.js_test.ts b/packages/0x.js/test/0x.js_test.ts
index e6163d568..5720f42ce 100644
--- a/packages/0x.js/test/0x.js_test.ts
+++ b/packages/0x.js/test/0x.js_test.ts
@@ -1,5 +1,9 @@
import { Deployer } from '@0xproject/deployer';
import { BlockchainLifecycle, devConstants, web3Factory } from '@0xproject/dev-utils';
+// HACK: This dependency is optional since it is only available when run from within
+// the monorepo. tslint doesn't handle optional dependencies
+// tslint:disable-next-line:no-implicit-dependencies
+import { runMigrationsAsync } from '@0xproject/migrations';
import { BigNumber } from '@0xproject/utils';
import * as chai from 'chai';
import * as _ from 'lodash';
@@ -9,7 +13,6 @@ import * as Sinon from 'sinon';
import { ApprovalContractEventArgs, LogWithDecodedArgs, Order, TokenEvents, ZeroEx } from '../src';
-import { runMigrationsAsync } from './migrations/migrate';
import { chaiSetup } from './utils/chai_setup';
import { constants } from './utils/constants';
import { deployer } from './utils/deployer';