From e5d04f4467d38353c13efd58ffb6125e27262c0e Mon Sep 17 00:00:00 2001 From: Fabio Berger Date: Sat, 11 Nov 2017 10:50:08 -0500 Subject: Fix test given that we now do delete the keys in dependentOrderHashes --- test/order_state_watcher_test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') 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( -- cgit v1.2.3