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

@@ -58,7 +58,7 @@ const chartPropsConfig = {
};
describe('EchartsGraph transformProps', () => {
it('should transform chart props for viz without category', () => {
test('should transform chart props for viz without category', () => {
const chartProps = new ChartProps(chartPropsConfig);
expect(transformProps(chartProps as EchartsGraphChartProps)).toEqual(
expect.objectContaining({
@@ -169,7 +169,7 @@ describe('EchartsGraph transformProps', () => {
);
});
it('should transform chart props for viz with category and falsy normalization', () => {
test('should transform chart props for viz with category and falsy normalization', () => {
const formData: SqlaFormData = {
colorScheme: 'bnbColors',
datasource: '3__table',
@@ -313,7 +313,7 @@ describe('legend sorting', () => {
queriesData,
});
it('sort legend by data', () => {
test('sort legend by data', () => {
const chartProps = getChartProps({
legendSort: null,
});
@@ -326,7 +326,7 @@ describe('legend sorting', () => {
]);
});
it('sort legend by label ascending', () => {
test('sort legend by label ascending', () => {
const chartProps = getChartProps({
legendSort: 'asc',
});
@@ -339,7 +339,7 @@ describe('legend sorting', () => {
]);
});
it('sort legend by label descending', () => {
test('sort legend by label descending', () => {
const chartProps = getChartProps({
legendSort: 'desc',
});