Skip to content

Commit

Permalink
fix: web tests
Browse files Browse the repository at this point in the history
  • Loading branch information
woodenfurniture committed Nov 24, 2024
1 parent 7f1ec5f commit 902bac3
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ vi.mock('react-hook-form')
vi.mock('hooks/useWallet/useWallet')
vi.mock('state/slices/selectors', () => ({
...vi.importActual('state/slices/selectors'),
selectUserCurrencyToUsdRate: () => '1',
selectMarketDataUsd: vi.fn(() => ({})),
selectAssetById: (_state: ReduxState, _id: AssetId) => mockEthereum,
selectFeeAssetById: (_state: ReduxState, _id: AssetId) => mockEthereum,
selectMarketDataByAssetIdUserCurrency: () => ({ price: '3500' }),
Expand Down

0 comments on commit 902bac3

Please sign in to comment.