Fix tslint issues

This commit is contained in:
Leonid Logvinov
2018-07-17 12:59:02 +02:00
parent edcdc9b1b9
commit bf8ac3b9e6
113 changed files with 354 additions and 323 deletions

View File

@@ -116,8 +116,8 @@ describe('OrderWatcher', () => {
orderWatcher.unsubscribe();
});
it('should fail when trying to subscribe twice', async () => {
orderWatcher.subscribe(_.noop);
expect(() => orderWatcher.subscribe(_.noop)).to.throw(OrderWatcherError.SubscriptionAlreadyPresent);
orderWatcher.subscribe(_.noop.bind(_));
expect(() => orderWatcher.subscribe(_.noop.bind(_))).to.throw(OrderWatcherError.SubscriptionAlreadyPresent);
});
});
describe('tests with cleanup', async () => {