diff --git a/x-pack/plugins/fleet/public/applications/fleet/components/search_bar.test.tsx b/x-pack/plugins/fleet/public/applications/fleet/components/search_bar.test.tsx index d426cd754b619..8edb28f341230 100644 --- a/x-pack/plugins/fleet/public/applications/fleet/components/search_bar.test.tsx +++ b/x-pack/plugins/fleet/public/applications/fleet/components/search_bar.test.tsx @@ -114,6 +114,7 @@ jest.mock('../hooks', () => { }, }, ]), + hasQuerySuggestions: jest.fn().mockReturnValue(true), }, ui: { IndexPatternSelect: jest.fn(),