[Lens] Fix broken test (#70117)
This commit is contained in:
parent
f4e7f14ffe
commit
40ff82d779
|
@ -177,8 +177,7 @@ function mockClient() {
|
||||||
} as unknown) as Pick<SavedObjectsClientContract, 'find' | 'bulkGet'>;
|
} as unknown) as Pick<SavedObjectsClientContract, 'find' | 'bulkGet'>;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Failing: See https://github.com/elastic/kibana/issues/70104
|
describe('loader', () => {
|
||||||
describe.skip('loader', () => {
|
|
||||||
describe('loadIndexPatterns', () => {
|
describe('loadIndexPatterns', () => {
|
||||||
it('should not load index patterns that are already loaded', async () => {
|
it('should not load index patterns that are already loaded', async () => {
|
||||||
const cache = await loadIndexPatterns({
|
const cache = await loadIndexPatterns({
|
||||||
|
@ -318,7 +317,6 @@ describe.skip('loader', () => {
|
||||||
a: sampleIndexPatterns.a,
|
a: sampleIndexPatterns.a,
|
||||||
},
|
},
|
||||||
layers: {},
|
layers: {},
|
||||||
showEmptyFields: false,
|
|
||||||
});
|
});
|
||||||
expect(storage.set).toHaveBeenCalledWith('lens-settings', {
|
expect(storage.set).toHaveBeenCalledWith('lens-settings', {
|
||||||
indexPatternId: 'a',
|
indexPatternId: 'a',
|
||||||
|
@ -341,7 +339,6 @@ describe.skip('loader', () => {
|
||||||
b: sampleIndexPatterns.b,
|
b: sampleIndexPatterns.b,
|
||||||
},
|
},
|
||||||
layers: {},
|
layers: {},
|
||||||
showEmptyFields: false,
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue