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

@@ -86,7 +86,7 @@ const chartPropsConfig = {
};
describe('Gantt transformProps', () => {
it('should transform chart props', () => {
test('should transform chart props', () => {
const chartProps = new ChartProps(chartPropsConfig);
const transformedProps = transformProps(
chartProps as EchartsGanttChartProps,
@@ -280,7 +280,7 @@ describe('legend sorting', () => {
},
});
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 EchartsGanttChartProps);
@@ -288,7 +288,7 @@ describe('legend sorting', () => {
expect(legendData).toEqual(['series value 1', 'series value 2']);
});
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 EchartsGanttChartProps);
@@ -296,7 +296,7 @@ describe('legend sorting', () => {
expect(legendData).toEqual(['series value 1', 'series value 2']);
});
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 EchartsGanttChartProps);