diff options
author | Leonid <logvinov.leon@gmail.com> | 2017-07-08 04:58:26 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-08 04:58:26 +0800 |
commit | f7515b489d10185e9e075dc9b73baa58a63cf6c4 (patch) | |
tree | 676ff8a09bcf1c6947edb8bbc22639ecd473df37 /test | |
parent | 33f713e0cc86605f8c97bb9131f8155cc8193471 (diff) | |
parent | b46d7f9ccae98d1d39d27a6119d0bee502b88616 (diff) | |
download | dexon-0x-contracts-f7515b489d10185e9e075dc9b73baa58a63cf6c4.tar.gz dexon-0x-contracts-f7515b489d10185e9e075dc9b73baa58a63cf6c4.tar.zst dexon-0x-contracts-f7515b489d10185e9e075dc9b73baa58a63cf6c4.zip |
Merge pull request #98 from 0xProject/typos
Typos
Diffstat (limited to 'test')
-rw-r--r-- | test/exchange_wrapper_test.ts | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/exchange_wrapper_test.ts b/test/exchange_wrapper_test.ts index 51ebd485d..53032efd6 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, ); @@ -531,7 +531,7 @@ describe('ExchangeWrapper', () => { }); }); }); - describe('#batchCancelOrderAsync', () => { + describe('#batchCancelOrdersAsync', () => { let anotherSignedOrder: SignedOrder; let anotherOrderHashHex: string; let cancelBatch: OrderCancellationRequest[]; @@ -556,7 +556,7 @@ describe('ExchangeWrapper', () => { const signedOrderWithDifferentMaker = await fillScenarios.createFillableSignedOrderAsync( makerTokenAddress, takerTokenAddress, takerAddress, takerAddress, fillableAmount, ); - return expect(zeroEx.exchange.batchCancelOrderAsync([ + return expect(zeroEx.exchange.batchCancelOrdersAsync([ cancelBatch[0], { order: signedOrderWithDifferentMaker, @@ -567,7 +567,7 @@ describe('ExchangeWrapper', () => { }); describe('successful batch cancels', () => { it('should cancel a batch of orders', async () => { - await zeroEx.exchange.batchCancelOrderAsync(cancelBatch); + await zeroEx.exchange.batchCancelOrdersAsync(cancelBatch); const cancelledAmount = await zeroEx.exchange.getCanceledTakerAmountAsync( orderHashHex, exchangeContractAddress, ); |