diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-06-01 23:03:15 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-06-01 23:03:15 +0800 |
commit | af61b5a9089b2575c8f0a44e1f0bceac41bb891f (patch) | |
tree | 0e264b03271cc87a4275f443b6601796f58e4b22 /test | |
parent | 5ded2bd52ba911e50e2cb3606a2e0e7a32cbd778 (diff) | |
download | dexon-sol-tools-af61b5a9089b2575c8f0a44e1f0bceac41bb891f.tar dexon-sol-tools-af61b5a9089b2575c8f0a44e1f0bceac41bb891f.tar.gz dexon-sol-tools-af61b5a9089b2575c8f0a44e1f0bceac41bb891f.tar.bz2 dexon-sol-tools-af61b5a9089b2575c8f0a44e1f0bceac41bb891f.tar.lz dexon-sol-tools-af61b5a9089b2575c8f0a44e1f0bceac41bb891f.tar.xz dexon-sol-tools-af61b5a9089b2575c8f0a44e1f0bceac41bb891f.tar.zst dexon-sol-tools-af61b5a9089b2575c8f0a44e1f0bceac41bb891f.zip |
Add shouldCheckTransfer
Diffstat (limited to 'test')
-rw-r--r-- | test/exchange_wrapper_test.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/exchange_wrapper_test.ts b/test/exchange_wrapper_test.ts index 4c61320e3..e8a217d0f 100644 --- a/test/exchange_wrapper_test.ts +++ b/test/exchange_wrapper_test.ts @@ -142,7 +142,7 @@ describe('ExchangeWrapper', () => { 5, addressBySymbol.MLN, 5, addressBySymbol.GNT); const fillAmount = new BigNumber(0); zeroEx.setDefaultAccount(taker); - expect(zeroEx.exchange.fillOrderAsync(signedOrder, fillAmount)) + expect(zeroEx.exchange.fillOrderAsync(signedOrder, fillAmount, shouldCheckTransfer)) .to.be.rejectedWith(FillOrderValidationErrs.FILL_AMOUNT_IS_ZERO); }); it('should throw when sender is not a taker', async () => { |