From 7161bbe8363aceca44fc90278f676643af871dd8 Mon Sep 17 00:00:00 2001 From: Alex Kroeger Date: Wed, 14 Oct 2020 11:38:05 -0700 Subject: [PATCH] prettier --- .../src/utils/market_operation_utils/index.ts | 8 +++++++- .../test/market_operation_utils_test.ts | 12 ++---------- 2 files changed, 9 insertions(+), 11 deletions(-) diff --git a/packages/asset-swapper/src/utils/market_operation_utils/index.ts b/packages/asset-swapper/src/utils/market_operation_utils/index.ts index 145527804f..13c9089d7c 100644 --- a/packages/asset-swapper/src/utils/market_operation_utils/index.ts +++ b/packages/asset-swapper/src/utils/market_operation_utils/index.ts @@ -240,7 +240,13 @@ export class MarketOperationUtils { offChainBalancerQuotes, offChainCreamQuotes, offChainBancorQuotes, - ] = await Promise.all([samplerPromise, rfqtPromise, offChainBalancerPromise, offChainCreamPromise, offChainBancorPromise]); + ] = await Promise.all([ + samplerPromise, + rfqtPromise, + offChainBalancerPromise, + offChainCreamPromise, + offChainBancorPromise, + ]); return { side: MarketOperation.Sell, diff --git a/packages/asset-swapper/test/market_operation_utils_test.ts b/packages/asset-swapper/test/market_operation_utils_test.ts index 385421d550..8e54b748fa 100644 --- a/packages/asset-swapper/test/market_operation_utils_test.ts +++ b/packages/asset-swapper/test/market_operation_utils_test.ts @@ -373,11 +373,7 @@ describe('MarketOperationUtils tests', () => { DEFAULT_FILL_DATA[ERC20BridgeSource.Balancer], ), ], - getCreamSellQuotesOffChainAsync: ( - _makerToken: string, - _takerToken: string, - takerFillAmounts: BigNumber[], - ) => [ + getCreamSellQuotesOffChainAsync: (_makerToken: string, _takerToken: string, takerFillAmounts: BigNumber[]) => [ createSamplesFromRates( ERC20BridgeSource.Cream, takerFillAmounts, @@ -385,11 +381,7 @@ describe('MarketOperationUtils tests', () => { DEFAULT_FILL_DATA[ERC20BridgeSource.Cream], ), ], - getCreamBuyQuotesOffChainAsync: ( - _makerToken: string, - _takerToken: string, - makerFillAmounts: BigNumber[], - ) => [ + getCreamBuyQuotesOffChainAsync: (_makerToken: string, _takerToken: string, makerFillAmounts: BigNumber[]) => [ createSamplesFromRates( ERC20BridgeSource.Cream, makerFillAmounts,