aboutsummaryrefslogtreecommitdiffstats
path: root/test/exchange_wrapper_test.ts
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-06-01 23:03:15 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-06-01 23:03:15 +0800
commitaf61b5a9089b2575c8f0a44e1f0bceac41bb891f (patch)
tree0e264b03271cc87a4275f443b6601796f58e4b22 /test/exchange_wrapper_test.ts
parent5ded2bd52ba911e50e2cb3606a2e0e7a32cbd778 (diff)
downloaddexon-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/exchange_wrapper_test.ts')
-rw-r--r--test/exchange_wrapper_test.ts2
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 () => {