We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6708db4 commit 7f808d8Copy full SHA for 7f808d8
__tests__/unit/plots/violin/legend-spec.ts
@@ -136,6 +136,9 @@ describe('violin legend', () => {
136
137
violin.update({ legend: { position: 'left', marker: { style: { fill: 'red' } } } });
138
// @ts-ignore
139
- expect(violin.chart.options.legends[X_FIELD]).toEqual({ position: 'left', marker: { style: { fill: 'red' } } });
+ expect(violin.chart.options.legends[X_FIELD]).toMatchObject({
140
+ position: 'left',
141
+ marker: { style: { fill: 'red' } },
142
+ });
143
});
144
0 commit comments