aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-06-08 01:12:43 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-06-08 01:12:43 +0800
commit01c33ef8b7929ae936fd4bb84bb5d3aee3e63e8d (patch)
tree01442f895ec5ad6963922162f6846cc7dd292d37 /test
parentedbbf5a215209bcb67052ca6cb83bb40e149d9a7 (diff)
downloaddexon-sol-tools-01c33ef8b7929ae936fd4bb84bb5d3aee3e63e8d.tar
dexon-sol-tools-01c33ef8b7929ae936fd4bb84bb5d3aee3e63e8d.tar.gz
dexon-sol-tools-01c33ef8b7929ae936fd4bb84bb5d3aee3e63e8d.tar.bz2
dexon-sol-tools-01c33ef8b7929ae936fd4bb84bb5d3aee3e63e8d.tar.lz
dexon-sol-tools-01c33ef8b7929ae936fd4bb84bb5d3aee3e63e8d.tar.xz
dexon-sol-tools-01c33ef8b7929ae936fd4bb84bb5d3aee3e63e8d.tar.zst
dexon-sol-tools-01c33ef8b7929ae936fd4bb84bb5d3aee3e63e8d.zip
Add no-op test
Diffstat (limited to 'test')
-rw-r--r--test/exchange_wrapper_test.ts6
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);