diff options
author | Fabio Berger <me@fabioberger.com> | 2018-04-04 15:31:57 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-04-04 15:31:57 +0800 |
commit | 43e07e7ce3dd61af8048c20aa2355010f0c72c22 (patch) | |
tree | 84da5a773b83e1c5c452ccbd8fb22342f9d28c84 /packages/0x.js/test/ether_token_wrapper_test.ts | |
parent | 5e4e27fed5b9b7c889e6e6e1805377b9eff31a3a (diff) | |
download | dexon-sol-tools-43e07e7ce3dd61af8048c20aa2355010f0c72c22.tar dexon-sol-tools-43e07e7ce3dd61af8048c20aa2355010f0c72c22.tar.gz dexon-sol-tools-43e07e7ce3dd61af8048c20aa2355010f0c72c22.tar.bz2 dexon-sol-tools-43e07e7ce3dd61af8048c20aa2355010f0c72c22.tar.lz dexon-sol-tools-43e07e7ce3dd61af8048c20aa2355010f0c72c22.tar.xz dexon-sol-tools-43e07e7ce3dd61af8048c20aa2355010f0c72c22.tar.zst dexon-sol-tools-43e07e7ce3dd61af8048c20aa2355010f0c72c22.zip |
Update 0x.js to run tests against in-process ganache
Diffstat (limited to 'packages/0x.js/test/ether_token_wrapper_test.ts')
-rw-r--r-- | packages/0x.js/test/ether_token_wrapper_test.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/0x.js/test/ether_token_wrapper_test.ts b/packages/0x.js/test/ether_token_wrapper_test.ts index 6237ccf23..6687c48e1 100644 --- a/packages/0x.js/test/ether_token_wrapper_test.ts +++ b/packages/0x.js/test/ether_token_wrapper_test.ts @@ -260,7 +260,7 @@ describe('EtherTokenWrapper', () => { callbackNeverToBeCalled, ); const callbackToBeCalled = reportNodeCallbackErrors(done)(); - const newProvider = web3Factory.getRpcProvider(); + const newProvider = web3.currentProvider; zeroEx.setProvider(newProvider, constants.TESTRPC_NETWORK_ID); await zeroEx.etherToken.depositAsync(etherTokenAddress, transferAmount, addressWithETH); zeroEx.etherToken.subscribe( |