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

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