aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2017-11-11 23:50:08 +0800
committerFabio Berger <me@fabioberger.com>2017-11-11 23:50:08 +0800
commite5d04f4467d38353c13efd58ffb6125e27262c0e (patch)
tree55c3af81b9a521059e6dc2cd68e617f711d9744b /test
parent62ac8e1952f907085427e9c00a7e922d62c0ec23 (diff)
downloaddexon-sol-tools-e5d04f4467d38353c13efd58ffb6125e27262c0e.tar
dexon-sol-tools-e5d04f4467d38353c13efd58ffb6125e27262c0e.tar.gz
dexon-sol-tools-e5d04f4467d38353c13efd58ffb6125e27262c0e.tar.bz2
dexon-sol-tools-e5d04f4467d38353c13efd58ffb6125e27262c0e.tar.lz
dexon-sol-tools-e5d04f4467d38353c13efd58ffb6125e27262c0e.tar.xz
dexon-sol-tools-e5d04f4467d38353c13efd58ffb6125e27262c0e.tar.zst
dexon-sol-tools-e5d04f4467d38353c13efd58ffb6125e27262c0e.zip
Fix test given that we now do delete the keys in dependentOrderHashes
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 9ed68ca10..3421353e3 100644
--- a/test/order_state_watcher_test.ts
+++ b/test/order_state_watcher_test.ts
@@ -72,7 +72,7 @@ describe('OrderStateWatcher', () => {
[orderHash]: signedOrder,
});
dependentOrderHashes = (zeroEx.orderStateWatcher as any)._dependentOrderHashes;
- expect(dependentOrderHashes[signedOrder.maker][signedOrder.makerTokenAddress]).to.not.have.keys(orderHash);
+ expect(dependentOrderHashes[signedOrder.maker]).to.be.undefined();
});
it('should no-op when removing a non-existing order', async () => {
signedOrder = await fillScenarios.createFillableSignedOrderAsync(