Skip to content
This repository has been archived by the owner on Jul 9, 2021. It is now read-only.

Commit

Permalink
ran prettier (again)
Browse files Browse the repository at this point in the history
  • Loading branch information
dorothy-zbornak committed Nov 14, 2019
1 parent 874eb16 commit 5781cdf
Showing 1 changed file with 12 additions and 20 deletions.
32 changes: 12 additions & 20 deletions contracts/exchange/test/wrapper_unit_tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1094,11 +1094,9 @@ blockchainTests('Exchange wrapper functions unit tests.', env => {
];
const signatures = [hexRandom()];
const fillAmount = new BigNumber(10000);
const fillResults = await roundingTestContract.marketBuyOrdersNoThrow(
orders,
fillAmount,
signatures,
).callAsync();
const fillResults = await roundingTestContract
.marketBuyOrdersNoThrow(orders, fillAmount, signatures)
.callAsync();
expect(fillResults.makerAssetFilledAmount).to.bignumber.eq(10000);
});

Expand All @@ -1111,11 +1109,9 @@ blockchainTests('Exchange wrapper functions unit tests.', env => {
];
const signatures = [hexRandom()];
const fillAmount = new BigNumber('2400000000000000000');
const fillResults = await roundingTestContract.marketBuyOrdersNoThrow(
orders,
fillAmount,
signatures,
).callAsync();
const fillResults = await roundingTestContract
.marketBuyOrdersNoThrow(orders, fillAmount, signatures)
.callAsync();
expect(fillResults.makerAssetFilledAmount).to.bignumber.eq('2400000000000000002');
});

Expand All @@ -1128,11 +1124,9 @@ blockchainTests('Exchange wrapper functions unit tests.', env => {
];
const signatures = [hexRandom()];
const fillAmount = new BigNumber('84819838457312347759');
const fillResults = await roundingTestContract.marketBuyOrdersNoThrow(
orders,
fillAmount,
signatures,
).callAsync();
const fillResults = await roundingTestContract
.marketBuyOrdersNoThrow(orders, fillAmount, signatures)
.callAsync();
expect(fillResults.makerAssetFilledAmount).to.bignumber.eq('84819838457312347760');
});

Expand All @@ -1145,11 +1139,9 @@ blockchainTests('Exchange wrapper functions unit tests.', env => {
const signatures = orders.map(() => hexRandom());
const totalMakerAssetAmount = BigNumber.sum(...orders.map(o => o.makerAssetAmount));
const fillAmount = getRandomPortion(totalMakerAssetAmount);
const fillResults = await roundingTestContract.marketBuyOrdersNoThrow(
orders,
fillAmount,
signatures,
).callAsync();
const fillResults = await roundingTestContract
.marketBuyOrdersNoThrow(orders, fillAmount, signatures)
.callAsync();
expect(fillResults.makerAssetFilledAmount).to.bignumber.gte(fillAmount);
});
}
Expand Down

0 comments on commit 5781cdf

Please sign in to comment.