diff options
author | Fabio Berger <me@fabioberger.com> | 2018-04-11 20:59:30 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-04-11 20:59:30 +0800 |
commit | b146acc69e46d2565474bcb4d47bfa760fd26fad (patch) | |
tree | e6d4e200e55a59b6cbbf224121ca64d03261b11d /packages/0x.js/test/ether_token_wrapper_test.ts | |
parent | 29dc22e208080fa8ff0871b98b530a2deb251a73 (diff) | |
download | dexon-sol-tools-b146acc69e46d2565474bcb4d47bfa760fd26fad.tar dexon-sol-tools-b146acc69e46d2565474bcb4d47bfa760fd26fad.tar.gz dexon-sol-tools-b146acc69e46d2565474bcb4d47bfa760fd26fad.tar.bz2 dexon-sol-tools-b146acc69e46d2565474bcb4d47bfa760fd26fad.tar.lz dexon-sol-tools-b146acc69e46d2565474bcb4d47bfa760fd26fad.tar.xz dexon-sol-tools-b146acc69e46d2565474bcb4d47bfa760fd26fad.tar.zst dexon-sol-tools-b146acc69e46d2565474bcb4d47bfa760fd26fad.zip |
Simplify the tests
Diffstat (limited to 'packages/0x.js/test/ether_token_wrapper_test.ts')
-rw-r--r-- | packages/0x.js/test/ether_token_wrapper_test.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/packages/0x.js/test/ether_token_wrapper_test.ts b/packages/0x.js/test/ether_token_wrapper_test.ts index e1ae34edb..99c42fe0b 100644 --- a/packages/0x.js/test/ether_token_wrapper_test.ts +++ b/packages/0x.js/test/ether_token_wrapper_test.ts @@ -260,8 +260,7 @@ describe('EtherTokenWrapper', () => { callbackNeverToBeCalled, ); const callbackToBeCalled = reportNodeCallbackErrors(done)(); - const newProvider = provider; - zeroEx.setProvider(newProvider, constants.TESTRPC_NETWORK_ID); + zeroEx.setProvider(provider, constants.TESTRPC_NETWORK_ID); await zeroEx.etherToken.depositAsync(etherTokenAddress, transferAmount, addressWithETH); zeroEx.etherToken.subscribe( etherTokenAddress, |