diff --git a/src/plugins/discover/public/components/discover_grid_flyout/discover_grid_flyout.test.tsx b/src/plugins/discover/public/components/discover_grid_flyout/discover_grid_flyout.test.tsx index 6097543c8aeb1..668f4090b3bdd 100644 --- a/src/plugins/discover/public/components/discover_grid_flyout/discover_grid_flyout.test.tsx +++ b/src/plugins/discover/public/components/discover_grid_flyout/discover_grid_flyout.test.tsx @@ -49,6 +49,7 @@ jest.mock('@elastic/eui', () => { return original.useIsWithinBreakpoints(breakpoints); }), + useResizeObserver: jest.fn(() => ({ width: 1000, height: 1000 })), }; });