aboutsummaryrefslogtreecommitdiffstats
path: root/test/exchange_wrapper_test.ts
diff options
context:
space:
mode:
authorLeonid <logvinov.leon@gmail.com>2017-10-24 21:40:38 +0800
committerGitHub <noreply@github.com>2017-10-24 21:40:38 +0800
commit641d3b75eadf8f3330d60ca26b7edc06a871219c (patch)
treea2fa218dfd160986d39a2281a6748c325ebba2d1 /test/exchange_wrapper_test.ts
parentfab2fa9adfe95db0b6f203efb926d52b6c9e14d4 (diff)
downloaddexon-sol-tools-641d3b75eadf8f3330d60ca26b7edc06a871219c.tar
dexon-sol-tools-641d3b75eadf8f3330d60ca26b7edc06a871219c.tar.gz
dexon-sol-tools-641d3b75eadf8f3330d60ca26b7edc06a871219c.tar.bz2
dexon-sol-tools-641d3b75eadf8f3330d60ca26b7edc06a871219c.tar.lz
dexon-sol-tools-641d3b75eadf8f3330d60ca26b7edc06a871219c.tar.xz
dexon-sol-tools-641d3b75eadf8f3330d60ca26b7edc06a871219c.tar.zst
dexon-sol-tools-641d3b75eadf8f3330d60ca26b7edc06a871219c.zip
Revert "Reduce final bundle size by 11% (82kB)"
Diffstat (limited to 'test/exchange_wrapper_test.ts')
-rw-r--r--test/exchange_wrapper_test.ts13
1 files changed, 5 insertions, 8 deletions
diff --git a/test/exchange_wrapper_test.ts b/test/exchange_wrapper_test.ts
index 2cfab2d65..f3f16643e 100644
--- a/test/exchange_wrapper_test.ts
+++ b/test/exchange_wrapper_test.ts
@@ -304,11 +304,11 @@ describe('ExchangeWrapper', () => {
orderFillBatch = [
{
signedOrder,
- takerTokenFillAmount,
+ takerTokenFillAmount: takerTokenFillAmount,
},
{
signedOrder: anotherSignedOrder,
- takerTokenFillAmount,
+ takerTokenFillAmount: takerTokenFillAmount,
},
];
});
@@ -655,8 +655,7 @@ describe('ExchangeWrapper', () => {
ExchangeEvents.LogFill, indexFilterValues, callback,
);
await zeroEx.exchange.fillOrderAsync(
- signedOrder, takerTokenFillAmountInBaseUnits, shouldThrowOnInsufficientBalanceOrAllowance,
- takerAddress,
+ signedOrder, takerTokenFillAmountInBaseUnits, shouldThrowOnInsufficientBalanceOrAllowance, takerAddress,
);
})().catch(done);
});
@@ -692,8 +691,7 @@ describe('ExchangeWrapper', () => {
ExchangeEvents.LogFill, indexFilterValues, callback,
);
await zeroEx.exchange.fillOrderAsync(
- signedOrder, takerTokenFillAmountInBaseUnits, shouldThrowOnInsufficientBalanceOrAllowance,
- takerAddress,
+ signedOrder, takerTokenFillAmountInBaseUnits, shouldThrowOnInsufficientBalanceOrAllowance, takerAddress,
);
})().catch(done);
});
@@ -707,8 +705,7 @@ describe('ExchangeWrapper', () => {
);
zeroEx.exchange.unsubscribe(subscriptionToken);
await zeroEx.exchange.fillOrderAsync(
- signedOrder, takerTokenFillAmountInBaseUnits, shouldThrowOnInsufficientBalanceOrAllowance,
- takerAddress,
+ signedOrder, takerTokenFillAmountInBaseUnits, shouldThrowOnInsufficientBalanceOrAllowance, takerAddress,
);
done();
})().catch(done);