mirror of
https://github.com/apache/superset.git
synced 2026-04-21 00:54:44 +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:
@@ -53,12 +53,12 @@ describe('CartodiagramPlugin buildQuery', () => {
|
||||
registry.clear();
|
||||
});
|
||||
|
||||
it('should call the buildQuery function of the referenced chart', () => {
|
||||
test('should call the buildQuery function of the referenced chart', () => {
|
||||
buildQuery(formData);
|
||||
expect(chartQueryBuilderMock.mock.calls).toHaveLength(1);
|
||||
});
|
||||
|
||||
it('should build groupby with geom in form data', () => {
|
||||
test('should build groupby with geom in form data', () => {
|
||||
const expectedParams = { ...selectedChartParams, groupby: ['geom'] };
|
||||
|
||||
buildQuery(formData);
|
||||
|
||||
Reference in New Issue
Block a user