diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-11-10 04:38:23 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-11-10 04:38:23 +0800 |
commit | 3a96fec03b5b258a8a2ec5f1c2771cf2a9742e8b (patch) | |
tree | ee8e6199aefea94604eaf0b2504ad9367102c5c2 | |
parent | 7a231b31660de45824e7e6265039fd64fc961f13 (diff) | |
download | dexon-sol-tools-3a96fec03b5b258a8a2ec5f1c2771cf2a9742e8b.tar.gz dexon-sol-tools-3a96fec03b5b258a8a2ec5f1c2771cf2a9742e8b.tar.zst dexon-sol-tools-3a96fec03b5b258a8a2ec5f1c2771cf2a9742e8b.zip |
Pass numConfirmations
-rw-r--r-- | test/order_state_watcher_test.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/order_state_watcher_test.ts b/test/order_state_watcher_test.ts index 0a0e3e996..938e1be4c 100644 --- a/test/order_state_watcher_test.ts +++ b/test/order_state_watcher_test.ts @@ -88,9 +88,9 @@ describe('OrderStateWatcher', () => { zeroEx.orderStateWatcher.unsubscribe(); }); it('should fail when trying to subscribe twice', (done: DoneCallback) => { - zeroEx.orderStateWatcher.subscribe(_.noop); + zeroEx.orderStateWatcher.subscribe(_.noop, numConfirmations); try { - zeroEx.orderStateWatcher.subscribe(_.noop); + zeroEx.orderStateWatcher.subscribe(_.noop, numConfirmations); done(new Error('Expected the second subscription to fail')); } catch (err) { done(); |