aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/order_state_watcher_test.ts4
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();