aboutsummaryrefslogtreecommitdiffstats
path: root/packages/0x.js/test/exchange_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/exchange_wrapper_test.ts
parent29dc22e208080fa8ff0871b98b530a2deb251a73 (diff)
downloaddexon-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/exchange_wrapper_test.ts')
-rw-r--r--packages/0x.js/test/exchange_wrapper_test.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/packages/0x.js/test/exchange_wrapper_test.ts b/packages/0x.js/test/exchange_wrapper_test.ts
index addfa6f91..cd74af5a1 100644
--- a/packages/0x.js/test/exchange_wrapper_test.ts
+++ b/packages/0x.js/test/exchange_wrapper_test.ts
@@ -976,8 +976,7 @@ describe('ExchangeWrapper', () => {
);
zeroEx.exchange.subscribe(ExchangeEvents.LogFill, indexFilterValues, callbackNeverToBeCalled);
- const newProvider = provider;
- zeroEx.setProvider(newProvider, constants.TESTRPC_NETWORK_ID);
+ zeroEx.setProvider(provider, constants.TESTRPC_NETWORK_ID);
const callback = reportNodeCallbackErrors(done)(
(logEvent: DecodedLogEvent<LogFillContractEventArgs>) => {