Skip to content

Commit

Permalink
[7.5] fix flaky test (#52395) (#52531)
Browse files Browse the repository at this point in the history
  • Loading branch information
flash1293 authored Dec 10, 2019
1 parent ff7224e commit a550a9e
Showing 1 changed file with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,14 @@ function wrapSearchBarInContext(testProps: OuterSearchBarProps) {
store: {
get: () => {},
},
data: {
query: {
savedQueries: {},
},
autocomplete: {
getProvider: () => undefined,
},
},
};

return (
Expand All @@ -62,8 +70,7 @@ function wrapSearchBarInContext(testProps: OuterSearchBarProps) {
);
}

// FLAKY: https://github.com/elastic/kibana/issues/52246
describe.skip('search_bar', () => {
describe('search_bar', () => {
const defaultProps = {
isLoading: false,
onQuerySubmit: jest.fn(),
Expand Down

0 comments on commit a550a9e

Please sign in to comment.