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/expiration_watcher_test.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/expiration_watcher_test.ts')
-rw-r--r-- | packages/order-watcher/test/expiration_watcher_test.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/order-watcher/test/expiration_watcher_test.ts b/packages/order-watcher/test/expiration_watcher_test.ts index 056e53988..17be625bc 100644 --- a/packages/order-watcher/test/expiration_watcher_test.ts +++ b/packages/order-watcher/test/expiration_watcher_test.ts @@ -1,7 +1,6 @@ import { tokenUtils } from '@0xproject/contract-wrappers/lib/test/utils/token_utils'; import { BlockchainLifecycle, callbackErrorReporter } from '@0xproject/dev-utils'; import { FillScenarios } from '@0xproject/fill-scenarios'; -import { getContractAddresses } from '@0xproject/migrations'; import { assetDataUtils, orderHashUtils } from '@0xproject/order-utils'; import { DoneCallback } from '@0xproject/types'; import { BigNumber } from '@0xproject/utils'; @@ -14,6 +13,7 @@ import { ExpirationWatcher } from '../src/order_watcher/expiration_watcher'; import { utils } from '../src/utils/utils'; import { chaiSetup } from './utils/chai_setup'; +import { migrateOnceAsync } from './utils/migrate'; import { provider, web3Wrapper } from './utils/web3_wrapper'; chaiSetup.configure(); @@ -35,8 +35,8 @@ describe('ExpirationWatcher', () => { let timer: Sinon.SinonFakeTimers; let expirationWatcher: ExpirationWatcher; before(async () => { + const contractAddresses = await migrateOnceAsync(); await blockchainLifecycle.startAsync(); - const contractAddresses = getContractAddresses(); userAddresses = await web3Wrapper.getAvailableAddressesAsync(); fillScenarios = new FillScenarios( provider, |