Skip to content

Commit

Permalink
mock useIsFocused
Browse files Browse the repository at this point in the history
  • Loading branch information
bernhardoj committed Sep 13, 2023
1 parent a4786d6 commit 1419120
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/perf-test/SelectionList.perf-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ jest.mock('../../src/components/withKeyboardState', () => (Component) => (props)

jest.mock('@react-navigation/native', () => ({
useFocusEffect: () => {},
useIsFocused: () => true,
createNavigationContainerRef: jest.fn(),
}));

Expand Down

0 comments on commit 1419120

Please sign in to comment.