mirror of
https://github.com/apache/superset.git
synced 2026-04-22 01:24:43 +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:
@@ -42,7 +42,7 @@ describe('Bubble buildQuery', () => {
|
||||
},
|
||||
};
|
||||
|
||||
it('Should build query without dimension', () => {
|
||||
test('Should build query without dimension', () => {
|
||||
const queryContext = buildQuery(formData);
|
||||
const [query] = queryContext.queries;
|
||||
expect(query.columns).toEqual(['customer_name']);
|
||||
@@ -66,7 +66,7 @@ describe('Bubble buildQuery', () => {
|
||||
},
|
||||
]);
|
||||
});
|
||||
it('Should build query with dimension', () => {
|
||||
test('Should build query with dimension', () => {
|
||||
const queryContext = buildQuery({ ...formData, series: 'state' });
|
||||
const [query] = queryContext.queries;
|
||||
expect(query.columns).toEqual(['customer_name', 'state']);
|
||||
|
||||
Reference in New Issue
Block a user