aboutsummaryrefslogtreecommitdiffstats
path: root/test/exchange_wrapper_test.ts
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-07-08 01:31:02 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-07-08 01:31:02 +0800
commitc0a90fe84e0a71ef927715b57a9e38ee3b875445 (patch)
tree67f3d5f4fa691c28fe6fe2d41589015068210341 /test/exchange_wrapper_test.ts
parent03a6e1dac55d174701493cacdd7db46a9aeed25b (diff)
downloaddexon-sol-tools-c0a90fe84e0a71ef927715b57a9e38ee3b875445.tar
dexon-sol-tools-c0a90fe84e0a71ef927715b57a9e38ee3b875445.tar.gz
dexon-sol-tools-c0a90fe84e0a71ef927715b57a9e38ee3b875445.tar.bz2
dexon-sol-tools-c0a90fe84e0a71ef927715b57a9e38ee3b875445.tar.lz
dexon-sol-tools-c0a90fe84e0a71ef927715b57a9e38ee3b875445.tar.xz
dexon-sol-tools-c0a90fe84e0a71ef927715b57a9e38ee3b875445.tar.zst
dexon-sol-tools-c0a90fe84e0a71ef927715b57a9e38ee3b875445.zip
Rename batchFillOrderAsync to batchFillOrdersAsync
Diffstat (limited to 'test/exchange_wrapper_test.ts')
-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 45da44f54..9b05c3f5a 100644
--- a/test/exchange_wrapper_test.ts
+++ b/test/exchange_wrapper_test.ts
@@ -386,7 +386,7 @@ describe('ExchangeWrapper', () => {
});
});
});
- describe('#batchFillOrderAsync', () => {
+ describe('#batchFillOrdersAsync', () => {
let signedOrder: SignedOrder;
let signedOrderHashHex: string;
let anotherSignedOrder: SignedOrder;
@@ -414,10 +414,10 @@ describe('ExchangeWrapper', () => {
});
describe('successful batch fills', () => {
it('should no-op for an empty batch', async () => {
- await zeroEx.exchange.batchFillOrderAsync([], shouldCheckTransfer, takerAddress);
+ await zeroEx.exchange.batchFillOrdersAsync([], shouldCheckTransfer, takerAddress);
});
it('should successfully fill multiple orders', async () => {
- await zeroEx.exchange.batchFillOrderAsync(orderFillBatch, shouldCheckTransfer, takerAddress);
+ await zeroEx.exchange.batchFillOrdersAsync(orderFillBatch, shouldCheckTransfer, takerAddress);
const filledAmount = await zeroEx.exchange.getFilledTakerAmountAsync(
signedOrderHashHex, exchangeContractAddress,
);