Skip to content

Commit

Permalink
Add mock for useLHNEstimatedListSize hook in SidebarLinks performance…
Browse files Browse the repository at this point in the history
… tests
  • Loading branch information
rezkiy37 committed Jan 31, 2025
1 parent 6f2c91e commit 8576b7e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/perf-test/SidebarLinks.perf-test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ jest.mock('../../src/libs/Navigation/navigationRef', () => ({
jest.mock('@components/Icon/Expensicons');

jest.mock('@react-navigation/native');
jest.mock('@src/hooks/useLHNEstimatedListSize/index.native.ts');

const getMockedReportsMap = (length = 100) => {
const mockReports = Object.fromEntries(
Expand Down

0 comments on commit 8576b7e

Please sign in to comment.