diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-06-02 00:31:08 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-06-02 00:31:08 +0800 |
commit | 520248e6787a04b2fcf45d7f185d85214a84bfd5 (patch) | |
tree | 81aa132559bb58cce00efd20486e5d994c07236d /test | |
parent | 0554f947b12f36a1cd5f7be469123e794b467f0b (diff) | |
download | dexon-0x-contracts-520248e6787a04b2fcf45d7f185d85214a84bfd5.tar.gz dexon-0x-contracts-520248e6787a04b2fcf45d7f185d85214a84bfd5.tar.zst dexon-0x-contracts-520248e6787a04b2fcf45d7f185d85214a84bfd5.zip |
Make validateFillOrder asyncronous
Diffstat (limited to 'test')
-rw-r--r-- | test/exchange_wrapper_test.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/exchange_wrapper_test.ts b/test/exchange_wrapper_test.ts index 09fb11cb3..2746c9e46 100644 --- a/test/exchange_wrapper_test.ts +++ b/test/exchange_wrapper_test.ts @@ -161,7 +161,8 @@ describe('ExchangeWrapper', () => { makerAmount, addressBySymbol.MLN, takerAmount, addressBySymbol.GNT); zeroEx.setDefaultAccount(taker); const moreThanTheBalance = new BigNumber(6); - expect(zeroEx.exchange.fillOrderAsync(signedOrder, moreThanTheBalance, true)) + const checkTransfer = true; + expect(zeroEx.exchange.fillOrderAsync(signedOrder, moreThanTheBalance, checkTransfer)) .to.be.rejectedWith(FillOrderValidationErrs.NOT_ENOUGH_TAKER_BALANCE); }); }); |