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

@@ -158,7 +158,7 @@ describe('EtherTokenWrapper', () => {
etherTokenAddress = etherToken.address;
});
afterEach(() => {
zeroEx.etherToken._unsubscribeAll();
zeroEx.etherToken.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,