Skip to content

Commit

Permalink
[Lens] Fix broken test (#70117)
Browse files Browse the repository at this point in the history
  • Loading branch information
Wylie Conlon authored Jun 27, 2020
1 parent f4e7f14 commit 40ff82d
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -177,8 +177,7 @@ function mockClient() {
} as unknown) as Pick<SavedObjectsClientContract, 'find' | 'bulkGet'>;
}

// Failing: See https://github.com/elastic/kibana/issues/70104
describe.skip('loader', () => {
describe('loader', () => {
describe('loadIndexPatterns', () => {
it('should not load index patterns that are already loaded', async () => {
const cache = await loadIndexPatterns({
Expand Down Expand Up @@ -318,7 +317,6 @@ describe.skip('loader', () => {
a: sampleIndexPatterns.a,
},
layers: {},
showEmptyFields: false,
});
expect(storage.set).toHaveBeenCalledWith('lens-settings', {
indexPatternId: 'a',
Expand All @@ -341,7 +339,6 @@ describe.skip('loader', () => {
b: sampleIndexPatterns.b,
},
layers: {},
showEmptyFields: false,
});
});

Expand Down

0 comments on commit 40ff82d

Please sign in to comment.