mirror of
https://github.com/apache/superset.git
synced 2026-04-21 09:04:38 +00:00
chore(lint): migrate Jest lint rules from eslint to oxlint (#37787)
Signed-off-by: hainenber <dotronghai96@gmail.com>
This commit is contained in:
@@ -38,7 +38,7 @@ describe('EchartsTree transformProps', () => {
|
||||
height: 600,
|
||||
theme: supersetTheme,
|
||||
};
|
||||
it('should transform when parent present before child', () => {
|
||||
test('should transform when parent present before child', () => {
|
||||
const queriesData = [
|
||||
{
|
||||
colnames: ['id_column', 'relation_column', 'name_column', 'count'],
|
||||
@@ -105,7 +105,7 @@ describe('EchartsTree transformProps', () => {
|
||||
}),
|
||||
);
|
||||
});
|
||||
it('should transform when child is present before parent', () => {
|
||||
test('should transform when child is present before parent', () => {
|
||||
const queriesData = [
|
||||
{
|
||||
colnames: ['id_column', 'relation_column', 'name_column', 'count'],
|
||||
@@ -175,7 +175,7 @@ describe('EchartsTree transformProps', () => {
|
||||
}),
|
||||
);
|
||||
});
|
||||
it('ignore node if not attached to root', () => {
|
||||
test('ignore node if not attached to root', () => {
|
||||
const formData = {
|
||||
colorScheme: 'bnbColors',
|
||||
datasource: '3__table',
|
||||
@@ -256,7 +256,7 @@ describe('EchartsTree transformProps', () => {
|
||||
}),
|
||||
);
|
||||
});
|
||||
it('should transform props if name column is not specified', () => {
|
||||
test('should transform props if name column is not specified', () => {
|
||||
const formData = {
|
||||
colorScheme: 'bnbColors',
|
||||
datasource: '3__table',
|
||||
@@ -338,7 +338,7 @@ describe('EchartsTree transformProps', () => {
|
||||
}),
|
||||
);
|
||||
});
|
||||
it('should find root node with null parent when root node name is not provided', () => {
|
||||
test('should find root node with null parent when root node name is not provided', () => {
|
||||
const formData = {
|
||||
colorScheme: 'bnbColors',
|
||||
datasource: '3__table',
|
||||
|
||||
Reference in New Issue
Block a user