Skip to content

Commit

Permalink
Fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
blazejkustra committed Jun 24, 2024
1 parent 81a96d8 commit 683e4c0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/perf-test/ReportScreen.perf-test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down Expand Up @@ -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<typeof ReactNative>('react-native');
// eslint-disable-next-line @typescript-eslint/no-unsafe-return
return {
...actualReactNative,
Expand Down

0 comments on commit 683e4c0

Please sign in to comment.