diff options
author | Fabio Berger <me@fabioberger.com> | 2017-11-11 23:50:08 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2017-11-11 23:50:08 +0800 |
commit | e5d04f4467d38353c13efd58ffb6125e27262c0e (patch) | |
tree | 55c3af81b9a521059e6dc2cd68e617f711d9744b | |
parent | 62ac8e1952f907085427e9c00a7e922d62c0ec23 (diff) | |
download | dexon-0x-contracts-e5d04f4467d38353c13efd58ffb6125e27262c0e.tar.gz dexon-0x-contracts-e5d04f4467d38353c13efd58ffb6125e27262c0e.tar.zst dexon-0x-contracts-e5d04f4467d38353c13efd58ffb6125e27262c0e.zip |
Fix test given that we now do delete the keys in dependentOrderHashes
-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 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( |