From ac8116bbe4a615fd70cb4ae22713ca36db3ee963 Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Tue, 13 Jun 2017 18:08:18 +0200 Subject: Address feedback --- test/exchange_wrapper_test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/exchange_wrapper_test.ts b/test/exchange_wrapper_test.ts index 35e42e4b2..6d927e218 100644 --- a/test/exchange_wrapper_test.ts +++ b/test/exchange_wrapper_test.ts @@ -633,7 +633,7 @@ describe('ExchangeWrapper', () => { toBlock: 'latest', }; const zeroExEvent = await zeroEx.exchange.subscribeAsync(ExchangeEvents.LogFill, subscriptionOpts, - indexFilterValues); + indexFilterValues); zeroExEvent.watch((err: Error, event: ContractEvent) => { expect(err).to.be.null(); expect(event).to.not.be.undefined(); @@ -693,7 +693,7 @@ describe('ExchangeWrapper', () => { ); })(); }); - it('Should be able to stop watching', (done: DoneCallback) => { + it('Should stop watch for events when stopWatchingAsync called on the eventEmitter', (done: DoneCallback) => { (async () => { const subscriptionOpts: SubscriptionOpts = { fromBlock: 0, -- cgit v1.2.3