biome and test fix

This commit is contained in:
dal 2025-07-09 12:59:27 -06:00
parent 0f30e344ce
commit 98190539b8
No known key found for this signature in database
GPG Key ID: 16F4B0E1E9F61122
2 changed files with 2 additions and 2 deletions

View File

@ -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);
});
});

View File

@ -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;