mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
feat(frontend): Replace ESLint with OXC hybrid linting architecture (#35506)
Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -179,7 +179,7 @@ describe('plugin-chart-ag-grid-table', () => {
|
||||
},
|
||||
).queries[0];
|
||||
|
||||
expect(query.orderby[0]).toEqual(['state', false]);
|
||||
expect(query.orderby?.[0]).toEqual(['state', false]);
|
||||
});
|
||||
|
||||
it('should handle multi-column sort from sortModel', () => {
|
||||
@@ -433,7 +433,7 @@ describe('plugin-chart-ag-grid-table', () => {
|
||||
},
|
||||
).queries[0];
|
||||
|
||||
expect(query.columns[0]).toEqual('city');
|
||||
expect(query.columns?.[0]).toEqual('city');
|
||||
expect(query.columns).toContain('state');
|
||||
expect(query.columns).toContain('country');
|
||||
});
|
||||
@@ -454,7 +454,7 @@ describe('plugin-chart-ag-grid-table', () => {
|
||||
},
|
||||
).queries[0];
|
||||
|
||||
expect(query.columns[0]).toMatchObject({
|
||||
expect(query.columns?.[0]).toMatchObject({
|
||||
sqlExpression: 'degree_type',
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user