diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-11-13 07:52:22 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-11-13 09:06:13 +0800 |
commit | d52825a5b18b0ac7591ca2f32a5062e949e4a65a (patch) | |
tree | eaa508b8cb0d9f42f904f383507130dd2da9f608 | |
parent | 84c965d459b948eb03cb8a70a66663bd7b35f463 (diff) | |
download | dexon-0x-contracts-d52825a5b18b0ac7591ca2f32a5062e949e4a65a.tar.gz dexon-0x-contracts-d52825a5b18b0ac7591ca2f32a5062e949e4a65a.tar.zst dexon-0x-contracts-d52825a5b18b0ac7591ca2f32a5062e949e4a65a.zip |
Fix tests
-rw-r--r-- | test/order_state_watcher_test.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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 () => { |