MCPcopy
hub / github.com/Uniswap/interface / formatNumbers.test.ts

File formatNumbers.test.ts

src/utils/formatNumbers.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { renderHook } from '@testing-library/react'
2import { CurrencyAmount, Percent } from '@uniswap/sdk-core'
3import { USDC_MAINNET } from 'constants/tokens'
4import { useCurrencyConversionFlagEnabled } from 'featureFlags/flags/currencyConversion'

Callers

nothing calls this directly

Calls 7

mockedFunction · 0.90
useFormatterFunction · 0.90
formatNumberFunction · 0.85
formatFiatPriceFunction · 0.85
formatPercentFunction · 0.85
formatDeltaFunction · 0.85

Tested by

no test coverage detected