aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-11-13 09:02:54 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-11-13 09:06:14 +0800
commit7ea0b138bc7a61037636eb5b4d2ad9b995a27f79 (patch)
tree9504c885a07c1786d746819971c6ad2bb1967d83 /test
parentd73fb5a23c0e23eaec90aee0b563c06fa8f380d6 (diff)
downloaddexon-sol-tools-7ea0b138bc7a61037636eb5b4d2ad9b995a27f79.tar
dexon-sol-tools-7ea0b138bc7a61037636eb5b4d2ad9b995a27f79.tar.gz
dexon-sol-tools-7ea0b138bc7a61037636eb5b4d2ad9b995a27f79.tar.bz2
dexon-sol-tools-7ea0b138bc7a61037636eb5b4d2ad9b995a27f79.tar.lz
dexon-sol-tools-7ea0b138bc7a61037636eb5b4d2ad9b995a27f79.tar.xz
dexon-sol-tools-7ea0b138bc7a61037636eb5b4d2ad9b995a27f79.tar.zst
dexon-sol-tools-7ea0b138bc7a61037636eb5b4d2ad9b995a27f79.zip
Remove unused code
Diffstat (limited to 'test')
-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 aa387f495..2b1aa68b7 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 () => {
zeroEx.orderStateWatcher.subscribe(_.noop);
expect(() => zeroEx.orderStateWatcher.subscribe(_.noop))
- .to.throw();
+ .to.throw(ZeroExError.SubscriptionAlreadyPresent);
});
});
describe('tests with cleanup', async () => {