diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-12-08 23:01:40 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-12-14 22:47:02 +0800 |
commit | cb596c1413938ce23901135f8235bb813cc6e784 (patch) | |
tree | 2810c3801e369691c482911af7218f7f4db43907 /packages/0x.js/test/expiration_watcher_test.ts | |
parent | 6120a43fff7b1b1aa1813533f3a990bb72df74a0 (diff) | |
download | dexon-sol-tools-cb596c1413938ce23901135f8235bb813cc6e784.tar.gz dexon-sol-tools-cb596c1413938ce23901135f8235bb813cc6e784.tar.zst dexon-sol-tools-cb596c1413938ce23901135f8235bb813cc6e784.zip |
Move more shared utils into utils package and reuse them
Diffstat (limited to 'packages/0x.js/test/expiration_watcher_test.ts')
-rw-r--r-- | packages/0x.js/test/expiration_watcher_test.ts | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/packages/0x.js/test/expiration_watcher_test.ts b/packages/0x.js/test/expiration_watcher_test.ts index d4581259d..e72653b67 100644 --- a/packages/0x.js/test/expiration_watcher_test.ts +++ b/packages/0x.js/test/expiration_watcher_test.ts @@ -1,3 +1,4 @@ +import {BlockchainLifecycle} from '@0xproject/dev-utils'; import {Web3Wrapper} from '@0xproject/web3-wrapper'; import BigNumber from 'bignumber.js'; import * as chai from 'chai'; @@ -12,8 +13,8 @@ import {DoneCallback, Token} from '../src/types'; import {constants} from '../src/utils/constants'; import {utils} from '../src/utils/utils'; -import {BlockchainLifecycle} from './utils/blockchain_lifecycle'; import {chaiSetup} from './utils/chai_setup'; +import {constants as testConstants} from './utils/constants'; import {FillScenarios} from './utils/fill_scenarios'; import {reportCallbackErrors} from './utils/report_callback_errors'; import {TokenUtils} from './utils/token_utils'; @@ -21,7 +22,7 @@ import {web3Factory} from './utils/web3_factory'; chaiSetup.configure(); const expect = chai.expect; -const blockchainLifecycle = new BlockchainLifecycle(); +const blockchainLifecycle = new BlockchainLifecycle(testConstants.RPC_URL); describe('ExpirationWatcher', () => { let web3: Web3; |