aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-11-13 07:52:22 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-11-13 09:06:13 +0800
commitd52825a5b18b0ac7591ca2f32a5062e949e4a65a (patch)
treeeaa508b8cb0d9f42f904f383507130dd2da9f608
parent84c965d459b948eb03cb8a70a66663bd7b35f463 (diff)
downloaddexon-sol-tools-d52825a5b18b0ac7591ca2f32a5062e949e4a65a.tar
dexon-sol-tools-d52825a5b18b0ac7591ca2f32a5062e949e4a65a.tar.gz
dexon-sol-tools-d52825a5b18b0ac7591ca2f32a5062e949e4a65a.tar.bz2
dexon-sol-tools-d52825a5b18b0ac7591ca2f32a5062e949e4a65a.tar.lz
dexon-sol-tools-d52825a5b18b0ac7591ca2f32a5062e949e4a65a.tar.xz
dexon-sol-tools-d52825a5b18b0ac7591ca2f32a5062e949e4a65a.tar.zst
dexon-sol-tools-d52825a5b18b0ac7591ca2f32a5062e949e4a65a.zip
Fix tests
-rw-r--r--test/order_state_watcher_test.ts2
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 () => {