aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-06-14 00:08:18 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-06-14 00:08:18 +0800
commitac8116bbe4a615fd70cb4ae22713ca36db3ee963 (patch)
tree4744a89c36f28f6e679418805289456e7b03c941 /test
parent5ebc3a4660ba347a591862288b9c908717f2e835 (diff)
downloaddexon-sol-tools-ac8116bbe4a615fd70cb4ae22713ca36db3ee963.tar
dexon-sol-tools-ac8116bbe4a615fd70cb4ae22713ca36db3ee963.tar.gz
dexon-sol-tools-ac8116bbe4a615fd70cb4ae22713ca36db3ee963.tar.bz2
dexon-sol-tools-ac8116bbe4a615fd70cb4ae22713ca36db3ee963.tar.lz
dexon-sol-tools-ac8116bbe4a615fd70cb4ae22713ca36db3ee963.tar.xz
dexon-sol-tools-ac8116bbe4a615fd70cb4ae22713ca36db3ee963.tar.zst
dexon-sol-tools-ac8116bbe4a615fd70cb4ae22713ca36db3ee963.zip
Address feedback
Diffstat (limited to 'test')
-rw-r--r--test/exchange_wrapper_test.ts4
1 files changed, 2 insertions, 2 deletions
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,