chore(lint): migrate Jest lint rules from eslint to oxlint (#37787)

Signed-off-by: hainenber <dotronghai96@gmail.com>
This commit is contained in:
Đỗ Trọng Hải
2026-02-08 16:44:42 +07:00
committed by GitHub
parent c4d2d42b3b
commit 563d9f1a3f
264 changed files with 1893 additions and 1952 deletions

View File

@@ -93,7 +93,7 @@ const chartProps = new ChartProps({
});
describe('Radar transformProps', () => {
it('should transform chart props for normalized radar chart & normalize all metrics except the ones with custom min & max', () => {
test('should transform chart props for normalized radar chart & normalize all metrics except the ones with custom min & max', () => {
const transformedProps = transformProps(
chartProps as EchartsRadarChartProps,
);
@@ -166,7 +166,7 @@ describe('legend sorting', () => {
queriesData: legendSortData,
});
it('preserves original data order when no sort specified', () => {
test('preserves original data order when no sort specified', () => {
const props = createChartProps({ legendSort: null });
const result = transformProps(props as EchartsRadarChartProps);
@@ -178,7 +178,7 @@ describe('legend sorting', () => {
]);
});
it('sorts alphabetically ascending when legendSort is "asc"', () => {
test('sorts alphabetically ascending when legendSort is "asc"', () => {
const props = createChartProps({ legendSort: 'asc' });
const result = transformProps(props as EchartsRadarChartProps);
@@ -190,7 +190,7 @@ describe('legend sorting', () => {
]);
});
it('sorts alphabetically descending when legendSort is "desc"', () => {
test('sorts alphabetically descending when legendSort is "desc"', () => {
const props = createChartProps({ legendSort: 'desc' });
const result = transformProps(props as EchartsRadarChartProps);