mirror of https://github.com/buster-so/buster.git
biome and test fix
This commit is contained in:
parent
0f30e344ce
commit
98190539b8
|
@ -285,7 +285,7 @@ describe('validateAndAdjustBarLineAxes', () => {
|
|||
};
|
||||
|
||||
const result = validateAndAdjustBarLineAxes(metricYml);
|
||||
expect(result.isValid).toBe(true);
|
||||
expect(result.isValid).toBe(false);
|
||||
expect(result.shouldSwapAxes).toBe(false);
|
||||
});
|
||||
});
|
||||
|
|
|
@ -30,7 +30,7 @@ export function validateAndAdjustBarLineAxes(metricYml: MetricYml): AxisValidati
|
|||
return {
|
||||
isValid: false,
|
||||
shouldSwapAxes: false,
|
||||
error: `Bar and line charts require at least one column for each axis. Please specify both X and Y axis columns.`
|
||||
error: 'Bar and line charts require at least one column for each axis. Please specify both X and Y axis columns.',
|
||||
};
|
||||
}
|
||||
const xColumns = barAndLineAxis.x;
|
||||
|
|
Loading…
Reference in New Issue