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 d572a00ec2241..d0c464ae45278 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(),