Skip to content

Commit a2d6a68

Browse files
committed
Fix jest tests
1 parent 112a852 commit a2d6a68

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

src/plugins/chart_expressions/expression_xy/common/expression_functions/layered_xy_vis.test.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,11 @@ describe('layeredXyVis', () => {
2424
expect(result).toEqual({
2525
type: 'render',
2626
as: XY_VIS,
27-
value: { args: { ...rest, layers: [sampleExtendedLayer] } },
27+
value: {
28+
args: { ...rest, layers: [sampleExtendedLayer] },
29+
syncColors: false,
30+
syncTooltips: false,
31+
},
2832
});
2933
});
3034

src/plugins/chart_expressions/expression_xy/common/expression_functions/xy_vis.test.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ describe('xyVis', () => {
3838
},
3939
],
4040
},
41+
syncColors: false,
42+
syncTooltips: false,
4143
},
4244
});
4345
});
@@ -344,6 +346,8 @@ describe('xyVis', () => {
344346
},
345347
],
346348
},
349+
syncColors: false,
350+
syncTooltips: false,
347351
},
348352
});
349353
});

0 commit comments

Comments
 (0)