mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
[UII] Fix unifiedSearch
mock in SearchBar
jest test (#192211)
## Summary Resolves #181510. Fixes missing method in the mocked `unifiedSearch` dependency that was causing flaky test failures.
This commit is contained in:
parent
33c181e496
commit
24e1b67027
1 changed files with 1 additions and 0 deletions
|
@ -114,6 +114,7 @@ jest.mock('../hooks', () => {
|
|||
},
|
||||
},
|
||||
]),
|
||||
hasQuerySuggestions: jest.fn().mockReturnValue(true),
|
||||
},
|
||||
ui: {
|
||||
IndexPatternSelect: jest.fn(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue