Make BlockchainLifecycle accept only web3Wrapper
This commit is contained in:
		@@ -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';
 | 
			
		||||
@@ -22,13 +22,13 @@ import { constants } from './utils/constants';
 | 
			
		||||
import { FillScenarios } from './utils/fill_scenarios';
 | 
			
		||||
import { reportNodeCallbackErrors } from './utils/report_callback_errors';
 | 
			
		||||
import { TokenUtils } from './utils/token_utils';
 | 
			
		||||
import { web3, web3Wrapper } from './utils/web3_wrapper';
 | 
			
		||||
 | 
			
		||||
const TIMEOUT_MS = 150;
 | 
			
		||||
 | 
			
		||||
chaiSetup.configure();
 | 
			
		||||
const expect = chai.expect;
 | 
			
		||||
const web3 = web3Factory.create();
 | 
			
		||||
const blockchainLifecycle = new BlockchainLifecycle(web3);
 | 
			
		||||
const blockchainLifecycle = new BlockchainLifecycle(web3Wrapper);
 | 
			
		||||
 | 
			
		||||
describe('OrderStateWatcher', () => {
 | 
			
		||||
    let zeroEx: ZeroEx;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user