Chore: Add mock for useChromeHeaderHeight (#93788)

add mock for useChromeHeaderHeight
This commit is contained in:
Ashley Harrison 2024-09-26 10:23:20 +01:00 committed by GitHub
parent 9531be9162
commit 0a01b60305
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -61,6 +61,7 @@ jest.mock('@grafana/runtime', () => ({
},
get: jest.fn().mockResolvedValue({}),
}),
useChromeHeaderHeight: jest.fn(),
}));
jest.mock('react-virtualized-auto-sizer', () => {