From d52825a5b18b0ac7591ca2f32a5062e949e4a65a Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Sun, 12 Nov 2017 18:52:22 -0500 Subject: Fix tests --- test/order_state_watcher_test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/order_state_watcher_test.ts b/test/order_state_watcher_test.ts index 76ecd5dd4..df007588e 100644 --- a/test/order_state_watcher_test.ts +++ b/test/order_state_watcher_test.ts @@ -96,7 +96,7 @@ describe('OrderStateWatcher', () => { it('should fail when trying to subscribe twice', async () => { await zeroEx.orderStateWatcher.subscribe(_.noop); return expect(zeroEx.orderStateWatcher.subscribe(_.noop)) - .to.be.rejectedWith(ZeroExError.SubscriptionAlreadyPresent); + .to.be.eventually.rejectedWith(ZeroExError.SubscriptionAlreadyPresent); }); }); describe('tests with cleanup', async () => { -- cgit v1.2.3