mirror of
https://github.com/apache/superset.git
synced 2026-04-19 16:14:52 +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:
@@ -28,7 +28,7 @@ describe('Graph buildQuery', () => {
|
||||
viz_type: 'my_chart',
|
||||
};
|
||||
|
||||
it('should build groupby with source and target categories', () => {
|
||||
test('should build groupby with source and target categories', () => {
|
||||
const formDataWithCategories = {
|
||||
...formData,
|
||||
source: 'dummy_source',
|
||||
@@ -47,7 +47,7 @@ describe('Graph buildQuery', () => {
|
||||
expect(query.metrics).toEqual(['foo', 'bar']);
|
||||
});
|
||||
|
||||
it('should build groupby with source category', () => {
|
||||
test('should build groupby with source category', () => {
|
||||
const formDataWithCategories = {
|
||||
...formData,
|
||||
source: 'dummy_source',
|
||||
@@ -64,7 +64,7 @@ describe('Graph buildQuery', () => {
|
||||
expect(query.metrics).toEqual(['foo', 'bar']);
|
||||
});
|
||||
|
||||
it('should build groupby with target category', () => {
|
||||
test('should build groupby with target category', () => {
|
||||
const formDataWithCategories = {
|
||||
...formData,
|
||||
source: 'dummy_source',
|
||||
@@ -81,7 +81,7 @@ describe('Graph buildQuery', () => {
|
||||
expect(query.metrics).toEqual(['foo', 'bar']);
|
||||
});
|
||||
|
||||
it('should build groupby without any category', () => {
|
||||
test('should build groupby without any category', () => {
|
||||
const formDataWithCategories = {
|
||||
...formData,
|
||||
source: 'dummy_source',
|
||||
|
||||
Reference in New Issue
Block a user