Skip to content

Commit

Permalink
fake timers earlier
Browse files Browse the repository at this point in the history
  • Loading branch information
jorbuedo committed May 8, 2024
1 parent 2b4b5e9 commit 7d382c9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions apps/wallet-mobile/src/metrics/metricsManager.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,13 @@ import {render} from '@testing-library/react-native'
import * as React from 'react'
import {Text, View} from 'react-native'

jest.useFakeTimers()
import {Ampli} from './ampli'
import {makeMetricsManager, MetricsProvider, useMetrics} from './metricsManager'
import {mockMetricsManager} from './mocks'

const initialMockedMetricsManager = mockMetricsManager()

jest.useFakeTimers()

const TestInit = () => {
const {isLoaded} = useMetrics()

Expand Down

0 comments on commit 7d382c9

Please sign in to comment.