aboutsummaryrefslogtreecommitdiffstats
path: root/packages/0x.js/test/ether_token_wrapper_test.ts
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-04-11 20:59:30 +0800
committerFabio Berger <me@fabioberger.com>2018-04-11 20:59:30 +0800
commitb146acc69e46d2565474bcb4d47bfa760fd26fad (patch)
treee6d4e200e55a59b6cbbf224121ca64d03261b11d /packages/0x.js/test/ether_token_wrapper_test.ts
parent29dc22e208080fa8ff0871b98b530a2deb251a73 (diff)
downloaddexon-0x-contracts-b146acc69e46d2565474bcb4d47bfa760fd26fad.tar.gz
dexon-0x-contracts-b146acc69e46d2565474bcb4d47bfa760fd26fad.tar.zst
dexon-0x-contracts-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.ts3
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,