aboutsummaryrefslogtreecommitdiffstats
path: root/packages/0x.js/test/exchange_wrapper_test.ts
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-02-27 06:35:15 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-02-27 06:38:17 +0800
commit7f8f4df0a01123e4fb414b3d5b70d0ed3115a4da (patch)
treecc2110937e9c8e4dfc34f8f1fcc385dea3112b1d /packages/0x.js/test/exchange_wrapper_test.ts
parent709fa9e02ec21cee9fc145b4a578742c8dd190aa (diff)
downloaddexon-0x-contracts-7f8f4df0a01123e4fb414b3d5b70d0ed3115a4da.tar.gz
dexon-0x-contracts-7f8f4df0a01123e4fb414b3d5b70d0ed3115a4da.tar.zst
dexon-0x-contracts-7f8f4df0a01123e4fb414b3d5b70d0ed3115a4da.zip
Rename _unsubscribeAll to unsubscribeAll
Diffstat (limited to 'packages/0x.js/test/exchange_wrapper_test.ts')
-rw-r--r--packages/0x.js/test/exchange_wrapper_test.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/0x.js/test/exchange_wrapper_test.ts b/packages/0x.js/test/exchange_wrapper_test.ts
index 325426438..688be628f 100644
--- a/packages/0x.js/test/exchange_wrapper_test.ts
+++ b/packages/0x.js/test/exchange_wrapper_test.ts
@@ -922,7 +922,7 @@ describe('ExchangeWrapper', () => {
);
});
afterEach(async () => {
- zeroEx.exchange._unsubscribeAll();
+ zeroEx.exchange.unsubscribeAll();
});
// Hack: Mocha does not allow a test to be both async and have a `done` callback
// Since we need to await the receipt of the event in the `subscribe` callback,