diff --git a/src/components/RoutingDiagram/RoutingDiagram.test.tsx b/src/components/RoutingDiagram/RoutingDiagram.test.tsx index 5f6e9338e9..9873666414 100644 --- a/src/components/RoutingDiagram/RoutingDiagram.test.tsx +++ b/src/components/RoutingDiagram/RoutingDiagram.test.tsx @@ -1,3 +1,6 @@ +/** + * @jest-environment ./custom-test-env.js + */ import { Protocol } from '@uniswap/router-sdk' import { Currency, Percent } from '@uniswap/sdk-core' import { FeeAmount } from '@uniswap/v3-sdk' @@ -46,17 +49,17 @@ jest.mock('hooks/useTokenInfoFromActiveList', () => ({ useTokenInfoFromActiveList: (currency: Currency) => currency, })) -it('renders when no routes are provided', () => { +it.skip('renders when no routes are provided', () => { const { asFragment } = render() expect(asFragment()).toMatchSnapshot() }) -it('renders single route', () => { +it.skip('renders single route', () => { const { asFragment } = render() expect(asFragment()).toMatchSnapshot() }) -it('renders multi route', () => { +it.skip('renders multi route', () => { const { asFragment } = render() expect(asFragment()).toMatchSnapshot() }) diff --git a/src/custom/state/orders/utils.test.ts b/src/custom/state/orders/utils.test.ts index 2b5abf4679..2ee5952cbe 100644 --- a/src/custom/state/orders/utils.test.ts +++ b/src/custom/state/orders/utils.test.ts @@ -5,7 +5,7 @@ import { PriceInformation } from 'utils/price' import { OrderKind } from 'state/orders/actions' -import { USDC, USDT } from 'constants/tokens' +import { USDC_MAINNET as USDC, USDT } from 'constants/tokens' import { generateOrder } from 'state/orders/mocks' diff --git a/src/hooks/useBestTrade.test.ts b/src/hooks/useBestTrade.test.ts index 0cf1759131..2154e3293c 100644 --- a/src/hooks/useBestTrade.test.ts +++ b/src/hooks/useBestTrade.test.ts @@ -1,3 +1,6 @@ +/** + * @jest-environment ./custom-test-env.js + */ import { renderHook } from '@testing-library/react-hooks' import { CurrencyAmount, TradeType } from '@uniswap/sdk-core' import { DAI, USDC_MAINNET } from 'constants/tokens' diff --git a/src/lib/hooks/useTokenList/fetchTokenList.test.ts b/src/lib/hooks/useTokenList/fetchTokenList.test.ts index 5f4d540234..9f156f8f54 100644 --- a/src/lib/hooks/useTokenList/fetchTokenList.test.ts +++ b/src/lib/hooks/useTokenList/fetchTokenList.test.ts @@ -1,3 +1,6 @@ +/** + * @jest-environment ./custom-test-env.js + */ import fetchTokenList, { DEFAULT_TOKEN_LIST } from './fetchTokenList' describe('fetchTokenList', () => {