diff --git a/tests/perf-test/ReportScreen.perf-test.tsx b/tests/perf-test/ReportScreen.perf-test.tsx index 129fcdcd38d7..6a2708da0bb9 100644 --- a/tests/perf-test/ReportScreen.perf-test.tsx +++ b/tests/perf-test/ReportScreen.perf-test.tsx @@ -2,6 +2,7 @@ import type {StackNavigationProp, StackScreenProps} from '@react-navigation/stac import {screen} from '@testing-library/react-native'; import type {ComponentType} from 'react'; import React from 'react'; +import type ReactNative from 'react-native'; import {Dimensions, InteractionManager} from 'react-native'; import Onyx from 'react-native-onyx'; import type Animated from 'react-native-reanimated'; @@ -50,7 +51,7 @@ jest.mock('react-native/Libraries/Interaction/InteractionManager', () => ({ })); jest.mock('react-native', () => { - const actualReactNative = jest.requireActual('react-native'); + const actualReactNative = jest.requireActual('react-native'); // eslint-disable-next-line @typescript-eslint/no-unsafe-return return { ...actualReactNative,