diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-06-08 01:12:43 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-06-08 01:12:43 +0800 |
commit | 01c33ef8b7929ae936fd4bb84bb5d3aee3e63e8d (patch) | |
tree | 01442f895ec5ad6963922162f6846cc7dd292d37 /test/exchange_wrapper_test.ts | |
parent | edbbf5a215209bcb67052ca6cb83bb40e149d9a7 (diff) | |
download | dexon-0x-contracts-01c33ef8b7929ae936fd4bb84bb5d3aee3e63e8d.tar dexon-0x-contracts-01c33ef8b7929ae936fd4bb84bb5d3aee3e63e8d.tar.gz dexon-0x-contracts-01c33ef8b7929ae936fd4bb84bb5d3aee3e63e8d.tar.bz2 dexon-0x-contracts-01c33ef8b7929ae936fd4bb84bb5d3aee3e63e8d.tar.lz dexon-0x-contracts-01c33ef8b7929ae936fd4bb84bb5d3aee3e63e8d.tar.xz dexon-0x-contracts-01c33ef8b7929ae936fd4bb84bb5d3aee3e63e8d.tar.zst dexon-0x-contracts-01c33ef8b7929ae936fd4bb84bb5d3aee3e63e8d.zip |
Add no-op test
Diffstat (limited to 'test/exchange_wrapper_test.ts')
-rw-r--r-- | test/exchange_wrapper_test.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/exchange_wrapper_test.ts b/test/exchange_wrapper_test.ts index 748816949..bd2536741 100644 --- a/test/exchange_wrapper_test.ts +++ b/test/exchange_wrapper_test.ts @@ -348,10 +348,10 @@ describe('ExchangeWrapper', () => { }, ]; }); - describe('failed batch fills', () => { - - }); describe('successful batch fills', () => { + it('should no-op for an empty batch', async () => { + await zeroEx.exchange.batchFillOrderAsync([], shouldCheckTransfer, takerAddress); + }); it('should successfully fill multiple orders', async () => { await zeroEx.exchange.batchFillOrderAsync(orderFillBatch, shouldCheckTransfer, takerAddress); const filledAmount = await zeroEx.exchange.getFilledTakerAmountAsync(signedOrderHashHex); |