aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2017-06-02 00:15:50 +0800
committerFabio Berger <me@fabioberger.com>2017-06-02 00:15:50 +0800
commitde93bf1690b78a8745c392e22e01ace641fbbffe (patch)
tree6d0ee72b49b17eb4af721dca56d6867904cae183
parentacb8a6c55ee2c97db5d738621929feea759465b3 (diff)
parent6ced554d9f6cf00d0d9e8f9ff8170af4f1cfbee3 (diff)
downloaddexon-sol-tools-de93bf1690b78a8745c392e22e01ace641fbbffe.tar
dexon-sol-tools-de93bf1690b78a8745c392e22e01ace641fbbffe.tar.gz
dexon-sol-tools-de93bf1690b78a8745c392e22e01ace641fbbffe.tar.bz2
dexon-sol-tools-de93bf1690b78a8745c392e22e01ace641fbbffe.tar.lz
dexon-sol-tools-de93bf1690b78a8745c392e22e01ace641fbbffe.tar.xz
dexon-sol-tools-de93bf1690b78a8745c392e22e01ace641fbbffe.tar.zst
dexon-sol-tools-de93bf1690b78a8745c392e22e01ace641fbbffe.zip
Merge branch 'fillOrderAsync' into unavailableFilledCancelled
-rw-r--r--test/exchange_wrapper_test.ts10
1 files changed, 0 insertions, 10 deletions
diff --git a/test/exchange_wrapper_test.ts b/test/exchange_wrapper_test.ts
index 6b2fd6477..ad5eba699 100644
--- a/test/exchange_wrapper_test.ts
+++ b/test/exchange_wrapper_test.ts
@@ -154,16 +154,6 @@ describe('ExchangeWrapper', () => {
expect(zeroEx.exchange.fillOrderAsync(signedOrder, fillAmount, shouldCheckTransfer))
.to.be.rejectedWith(FillOrderValidationErrs.EXPIRED);
});
- it('should throw when not enough balance', async () => {
- const makerAmount = 10;
- const takerAmount = 10;
- const signedOrder = await orderFactory.createSignedOrderAsync(zeroEx, maker, taker,
- makerAmount, addressBySymbol.MLN, takerAmount, addressBySymbol.GNT);
- zeroEx.setDefaultAccount(taker);
- const tooMuch = new BigNumber(6);
- expect(zeroEx.exchange.fillOrderAsync(signedOrder, tooMuch, true))
- .to.be.rejectedWith(FillOrderValidationErrs.EXPIRED);
- });
});
describe('successful fills', () => {
it('should fill the valid order', async () => {