mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
♻️ Unskip and fix tests (#143931)
This commit is contained in:
parent
37454b7b9f
commit
8ec679878b
1 changed files with 3 additions and 4 deletions
|
@ -1789,9 +1789,7 @@ describe('IndexPattern Data Source', () => {
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
// FLAKY: https://github.com/elastic/kibana/issues/143908
|
describe('#clearLayer', () => {
|
||||||
// FLAKY: https://github.com/elastic/kibana/issues/143907
|
|
||||||
describe.skip('#clearLayer', () => {
|
|
||||||
it('should clear a layer', () => {
|
it('should clear a layer', () => {
|
||||||
const state = {
|
const state = {
|
||||||
layers: {
|
layers: {
|
||||||
|
@ -1817,6 +1815,7 @@ describe('IndexPattern Data Source', () => {
|
||||||
columnOrder: [],
|
columnOrder: [],
|
||||||
columns: {},
|
columns: {},
|
||||||
linkToLayers: ['some-layer'],
|
linkToLayers: ['some-layer'],
|
||||||
|
sampling: 1,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
@ -1845,7 +1844,7 @@ describe('IndexPattern Data Source', () => {
|
||||||
newState: {
|
newState: {
|
||||||
...state,
|
...state,
|
||||||
layers: {
|
layers: {
|
||||||
first: state.layers.first,
|
first: { ...state.layers.first, linkToLayers: undefined, sampling: 1 },
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue