Skip to content

Commit

Permalink
git commit --allow-empty -m "chore: update vrt screenshots [update-vrt]"
Browse files Browse the repository at this point in the history
  • Loading branch information
mbondyra committed May 27, 2024
1 parent 6643841 commit 2f9274f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/charts/src/components/legend/legend.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ describe('Legend', () => {
const legendRows = legendTable.find(LegendTableRow);
expect(legendRows.exists).toBeTruthy();
expect(legendRows).toHaveLength(5);
const expected = ['LegendMin', 'group0123', 'group1123', 'group2123', 'group3123'];
const expected = ['Min', 'group0123', 'group1123', 'group2123', 'group3123'];
legendRows.forEach((row, i) => {
expect(row.text()).toBe(expected[i]);
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ describe('Legend', () => {
const legendRows = legendWrapper.find(LegendTableRow);
expect(legendRows.exists).toBeTruthy();
expect(legendRows).toHaveLength(5);
const expectedTable = ['LegendMinMax', 'first1010', 'second33', 'third88', 'fourth1010'];
const expectedTable = ['MinMax', 'first1010', 'second33', 'third88', 'fourth1010'];
expect(legendRows.map((row) => row.text())).toEqual(expectedTable);
});
});
2 changes: 1 addition & 1 deletion packages/charts/src/utils/data_samples/test_dataset.ts
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ export const TIME_CHART_2Y0G = [
];

export const SHORT_NAMES_BARCHART = [
{ x: 0, g: '56,988,62s', y: 1 },
{ x: 0, g: 'a', y: 1000 },
{ x: 0, g: 'b', y: 1 },
{ x: 0, g: 'c', y: 3 },
{ x: 0, g: 'd', y: 3 },
Expand Down
2 changes: 1 addition & 1 deletion storybook/stories/legend/17_tabular_data.story.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export const Example: ChartsStory = (_, { title, description }) => {
const showColorPicker = !boolean('Hide color picker', true, 'Legend');
const legendPosition = customKnobs.enum.position('Legend position', undefined, { group: 'Legend' });
const euiPopoverPosition = customKnobs.enum.euiPopoverPosition(undefined, undefined, { group: 'Legend' });
const legendTitle = text('Legend title', undefined, 'Legend');
const legendTitle = text('Legend title', '', 'Legend');

const legendValues = customKnobs.multiSelect(
'Legend Value',
Expand Down

0 comments on commit 2f9274f

Please sign in to comment.