From 0a01b60305268d32e76597cea9e500213a13fb79 Mon Sep 17 00:00:00 2001 From: Ashley Harrison Date: Thu, 26 Sep 2024 10:23:20 +0100 Subject: [PATCH] Chore: Add mock for `useChromeHeaderHeight` (#93788) add mock for useChromeHeaderHeight --- .../features/dashboard/containers/DashboardPageProxy.test.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/public/app/features/dashboard/containers/DashboardPageProxy.test.tsx b/public/app/features/dashboard/containers/DashboardPageProxy.test.tsx index 35370d47621..178c4b96cef 100644 --- a/public/app/features/dashboard/containers/DashboardPageProxy.test.tsx +++ b/public/app/features/dashboard/containers/DashboardPageProxy.test.tsx @@ -61,6 +61,7 @@ jest.mock('@grafana/runtime', () => ({ }, get: jest.fn().mockResolvedValue({}), }), + useChromeHeaderHeight: jest.fn(), })); jest.mock('react-virtualized-auto-sizer', () => {