From 32e3cab116eedb940c5e1be2a11daeb31260ce77 Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Mon, 12 Mar 2018 12:51:37 +0100 Subject: Make BlockchainLifecycle accept only web3Wrapper --- packages/0x.js/test/subscription_test.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'packages/0x.js/test/subscription_test.ts') diff --git a/packages/0x.js/test/subscription_test.ts b/packages/0x.js/test/subscription_test.ts index c6d4ac923..9b4751287 100644 --- a/packages/0x.js/test/subscription_test.ts +++ b/packages/0x.js/test/subscription_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 _ from 'lodash'; import 'mocha'; @@ -11,10 +11,10 @@ import { DoneCallback } from '../src/types'; import { chaiSetup } from './utils/chai_setup'; import { constants } from './utils/constants'; import { assertNodeCallbackError } from './utils/report_callback_errors'; +import { web3, web3Wrapper } from './utils/web3_wrapper'; chaiSetup.configure(); -const web3 = web3Factory.create(); -const blockchainLifecycle = new BlockchainLifecycle(web3); +const blockchainLifecycle = new BlockchainLifecycle(web3Wrapper); describe('SubscriptionTest', () => { let zeroEx: ZeroEx; -- cgit v1.2.3