diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-03-12 19:51:37 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-03-12 19:51:37 +0800 |
commit | 32e3cab116eedb940c5e1be2a11daeb31260ce77 (patch) | |
tree | 1ddb441ac988d63ff9f999bebd9c4f2f202a3bb6 /packages/0x.js/test/expiration_watcher_test.ts | |
parent | 49ff4299c6628fcb0de831f4da1dd1a683305fa5 (diff) | |
download | dexon-sol-tools-32e3cab116eedb940c5e1be2a11daeb31260ce77.tar.gz dexon-sol-tools-32e3cab116eedb940c5e1be2a11daeb31260ce77.tar.zst dexon-sol-tools-32e3cab116eedb940c5e1be2a11daeb31260ce77.zip |
Make BlockchainLifecycle accept only web3Wrapper
Diffstat (limited to 'packages/0x.js/test/expiration_watcher_test.ts')
-rw-r--r-- | packages/0x.js/test/expiration_watcher_test.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/0x.js/test/expiration_watcher_test.ts b/packages/0x.js/test/expiration_watcher_test.ts index 4f7fefca5..ed7a6e5e3 100644 --- a/packages/0x.js/test/expiration_watcher_test.ts +++ b/packages/0x.js/test/expiration_watcher_test.ts @@ -1,4 +1,4 @@ -import { BlockchainLifecycle, devConstants, web3Factory } from '@0xproject/dev-utils'; +import { BlockchainLifecycle, devConstants } from '@0xproject/dev-utils'; import { BigNumber } from '@0xproject/utils'; import * as chai from 'chai'; import * as _ from 'lodash'; @@ -16,11 +16,11 @@ import { constants } from './utils/constants'; import { FillScenarios } from './utils/fill_scenarios'; import { reportNoErrorCallbackErrors } from './utils/report_callback_errors'; import { TokenUtils } from './utils/token_utils'; +import { web3, web3Wrapper } from './utils/web3_wrapper'; chaiSetup.configure(); const expect = chai.expect; -const web3 = web3Factory.create(); -const blockchainLifecycle = new BlockchainLifecycle(web3); +const blockchainLifecycle = new BlockchainLifecycle(web3Wrapper); describe('ExpirationWatcher', () => { let zeroEx: ZeroEx; |