aboutsummaryrefslogtreecommitdiffstats
path: root/packages/0x.js/test/exchange_transfer_simulator_test.ts
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-04-06 14:03:14 +0800
committerFabio Berger <me@fabioberger.com>2018-04-06 14:03:14 +0800
commit24454938e51e40ae74809f15bd1f612c69c218ec (patch)
tree706a1a738d3e0a172c62343c0dfb5bad39163d9f /packages/0x.js/test/exchange_transfer_simulator_test.ts
parent89a72ebf0dbff606d511ae51bfee7ffc0a5df18f (diff)
downloaddexon-0x-contracts-24454938e51e40ae74809f15bd1f612c69c218ec.tar.gz
dexon-0x-contracts-24454938e51e40ae74809f15bd1f612c69c218ec.tar.zst
dexon-0x-contracts-24454938e51e40ae74809f15bd1f612c69c218ec.zip
Move away from using web3 directly in 0x.js tests
Diffstat (limited to 'packages/0x.js/test/exchange_transfer_simulator_test.ts')
-rw-r--r--packages/0x.js/test/exchange_transfer_simulator_test.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/0x.js/test/exchange_transfer_simulator_test.ts b/packages/0x.js/test/exchange_transfer_simulator_test.ts
index 4447a61cb..cb976a0ae 100644
--- a/packages/0x.js/test/exchange_transfer_simulator_test.ts
+++ b/packages/0x.js/test/exchange_transfer_simulator_test.ts
@@ -9,7 +9,7 @@ import { ExchangeTransferSimulator } from '../src/utils/exchange_transfer_simula
import { chaiSetup } from './utils/chai_setup';
import { constants } from './utils/constants';
-import { web3, web3Wrapper } from './utils/web3_wrapper';
+import { provider, web3Wrapper } from './utils/web3_wrapper';
chaiSetup.configure();
const expect = chai.expect;
@@ -19,7 +19,7 @@ describe('ExchangeTransferSimulator', () => {
const config = {
networkId: constants.TESTRPC_NETWORK_ID,
};
- const zeroEx = new ZeroEx(web3.currentProvider, config);
+ const zeroEx = new ZeroEx(provider, config);
const transferAmount = new BigNumber(5);
let userAddresses: string[];
let tokens: Token[];