prettier + lint
This commit is contained in:
parent
6c705728a4
commit
863e830d24
@ -48,7 +48,7 @@ describe('swapQuoteCalculator', () => {
|
||||
};
|
||||
await testHelpers.expectInsufficientLiquidityErrorAsync(expect, errorFunction, baseUnitAmount(9));
|
||||
});
|
||||
it('should throw if not enough taker asset liquidity (multiple feeless orders with 20% slippage)',async () => {
|
||||
it('should throw if not enough taker asset liquidity (multiple feeless orders with 20% slippage)', async () => {
|
||||
const errorFunction = async () => {
|
||||
await swapQuoteCalculator.calculateMarketSellSwapQuoteAsync(
|
||||
testOrders.PRUNED_SIGNED_ORDERS_FEELESS,
|
||||
|
@ -1,10 +1,4 @@
|
||||
import {
|
||||
MarketBuySwapQuote,
|
||||
SwapQuoteConsumer,
|
||||
SwapQuoter,
|
||||
SwapQuoterError,
|
||||
SwapQuoteConsumerError,
|
||||
} from '@0x/asset-swapper';
|
||||
import { MarketBuySwapQuote, SwapQuoteConsumer, SwapQuoteConsumerError, SwapQuoter } from '@0x/asset-swapper';
|
||||
import { BigNumber } from '@0x/utils';
|
||||
import { Web3Wrapper } from '@0x/web3-wrapper';
|
||||
import * as React from 'react';
|
||||
|
@ -1,10 +1,4 @@
|
||||
import {
|
||||
MarketBuySwapQuote,
|
||||
SwapQuoteConsumer,
|
||||
SwapQuoteConsumerError,
|
||||
SwapQuoter,
|
||||
SwapQuoterError,
|
||||
} from '@0x/asset-swapper';
|
||||
import { MarketBuySwapQuote, SwapQuoteConsumer, SwapQuoteConsumerError, SwapQuoter } from '@0x/asset-swapper';
|
||||
import { BigNumber } from '@0x/utils';
|
||||
import { Web3Wrapper } from '@0x/web3-wrapper';
|
||||
import * as _ from 'lodash';
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { SwapQuoteConsumer, SwapQuoter, SwapQuoteConsumerOpts, SwapQuoterOpts } from '@0x/asset-swapper';
|
||||
import { SwapQuoteConsumer, SwapQuoter, SwapQuoterOpts } from '@0x/asset-swapper';
|
||||
import { SupportedProvider } from 'ethereum-types';
|
||||
import * as _ from 'lodash';
|
||||
|
||||
|
@ -1,14 +1,14 @@
|
||||
import { MarketBuySwapQuote, SwapQuote, SwapQuoter } from '@0x/asset-swapper';
|
||||
import { MarketBuySwapQuote, SwapQuoter } from '@0x/asset-swapper';
|
||||
import { AssetProxyId } from '@0x/types';
|
||||
import { BigNumber } from '@0x/utils';
|
||||
import { Web3Wrapper } from '@0x/web3-wrapper';
|
||||
import * as _ from 'lodash';
|
||||
import { Dispatch } from 'redux';
|
||||
import { oc } from 'ts-optchain';
|
||||
|
||||
import { ERC20_SWAP_QUOTE_SLIPPAGE_PERCENTAGE, ERC721_SWAP_QUOTE_SLIPPAGE_PERCENTAGE } from '../constants';
|
||||
import { Action, actions } from '../redux/actions';
|
||||
import { Asset, QuoteFetchOrigin } from '../types';
|
||||
|
||||
import { analytics } from './analytics';
|
||||
import { assetUtils } from './asset';
|
||||
import { errorFlasher } from './error_flasher';
|
||||
|
Loading…
x
Reference in New Issue
Block a user