diff options
author | Fabio Berger <me@fabioberger.com> | 2017-11-11 23:22:09 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2017-11-11 23:22:09 +0800 |
commit | 62ac8e1952f907085427e9c00a7e922d62c0ec23 (patch) | |
tree | 620e8d7d7046355831729c3c70c172954ed3a626 | |
parent | d61f34ec125884ff1c17f41dbc8c844b866390f5 (diff) | |
download | dexon-sol-tools-62ac8e1952f907085427e9c00a7e922d62c0ec23.tar dexon-sol-tools-62ac8e1952f907085427e9c00a7e922d62c0ec23.tar.gz dexon-sol-tools-62ac8e1952f907085427e9c00a7e922d62c0ec23.tar.bz2 dexon-sol-tools-62ac8e1952f907085427e9c00a7e922d62c0ec23.tar.lz dexon-sol-tools-62ac8e1952f907085427e9c00a7e922d62c0ec23.tar.xz dexon-sol-tools-62ac8e1952f907085427e9c00a7e922d62c0ec23.tar.zst dexon-sol-tools-62ac8e1952f907085427e9c00a7e922d62c0ec23.zip |
Fix missing renames
-rw-r--r-- | test/order_state_watcher_test.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/order_state_watcher_test.ts b/test/order_state_watcher_test.ts index 10ed6bd77..9ed68ca10 100644 --- a/test/order_state_watcher_test.ts +++ b/test/order_state_watcher_test.ts @@ -62,13 +62,13 @@ describe('OrderStateWatcher', () => { ); const orderHash = ZeroEx.getOrderHashHex(signedOrder); zeroEx.orderStateWatcher.addOrder(signedOrder); - expect((zeroEx.orderStateWatcher as any)._orders).to.include({ + expect((zeroEx.orderStateWatcher as any)._orderByOrderHash).to.include({ [orderHash]: signedOrder, }); let dependentOrderHashes = (zeroEx.orderStateWatcher as any)._dependentOrderHashes; expect(dependentOrderHashes[signedOrder.maker][signedOrder.makerTokenAddress]).to.have.keys(orderHash); zeroEx.orderStateWatcher.removeOrder(orderHash); - expect((zeroEx.orderStateWatcher as any)._orders).to.not.include({ + expect((zeroEx.orderStateWatcher as any)._orderByOrderHash).to.not.include({ [orderHash]: signedOrder, }); dependentOrderHashes = (zeroEx.orderStateWatcher as any)._dependentOrderHashes; |