Skip to content

Commit

Permalink
fix mock
Browse files Browse the repository at this point in the history
  • Loading branch information
FitseTLT committed Mar 2, 2024
1 parent e5b14a6 commit f12d925
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/perf-test/ReportActionsList.perf-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,7 @@ jest.mock('@react-navigation/native', () => {
return {
...actualNav,
useRoute: () => mockedNavigate,
useIsFocused: () => ({
navigate: jest.fn(),
}),
useIsFocused: () => true,
};
});

Expand Down

0 comments on commit f12d925

Please sign in to comment.