aboutsummaryrefslogtreecommitdiffstats
path: root/packages/0x.js/test/token_wrapper_test.ts
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-02-28 02:25:52 +0800
committerGitHub <noreply@github.com>2018-02-28 02:25:52 +0800
commit2da7f82171be76b36bac0500fb6dd78ba1669603 (patch)
tree41c931b6c07ea28222a98e9e7f051159542ce027 /packages/0x.js/test/token_wrapper_test.ts
parentfce10548d2d992317e36af48638a5ee799e94e7c (diff)
parent593474031d7faf4242c76aa22defea8ea76e9e90 (diff)
downloaddexon-0x-contracts-2da7f82171be76b36bac0500fb6dd78ba1669603.tar.gz
dexon-0x-contracts-2da7f82171be76b36bac0500fb6dd78ba1669603.tar.zst
dexon-0x-contracts-2da7f82171be76b36bac0500fb6dd78ba1669603.zip
Merge pull request #415 from 0xProject/fix/unsubscribeAll
Rename _unsubscribeAll to unsubscribeAll
Diffstat (limited to 'packages/0x.js/test/token_wrapper_test.ts')
-rw-r--r--packages/0x.js/test/token_wrapper_test.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/0x.js/test/token_wrapper_test.ts b/packages/0x.js/test/token_wrapper_test.ts
index 34ebe30c2..070d6ec47 100644
--- a/packages/0x.js/test/token_wrapper_test.ts
+++ b/packages/0x.js/test/token_wrapper_test.ts
@@ -377,7 +377,7 @@ describe('TokenWrapper', () => {
tokenAddress = token.address;
});
afterEach(() => {
- zeroEx.token._unsubscribeAll();
+ zeroEx.token.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,