Rename _unsubscribeAll to unsubscribeAll

This commit is contained in:
Leonid Logvinov
2018-02-26 14:35:15 -08:00
parent 709fa9e02e
commit 7f8f4df0a0
9 changed files with 13 additions and 12 deletions

View File

@@ -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,