mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +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:
@@ -27,7 +27,7 @@ import { HandlebarsChartPlugin } from '../src';
|
||||
* properly transform the data and/or any resulting props).
|
||||
*/
|
||||
describe('@superset-ui/plugin-chart-handlebars', () => {
|
||||
it('exists', () => {
|
||||
test('exists', () => {
|
||||
expect(HandlebarsChartPlugin).toBeDefined();
|
||||
});
|
||||
});
|
||||
|
||||
@@ -29,7 +29,7 @@ describe('Handlebars buildQuery', () => {
|
||||
height: 500,
|
||||
};
|
||||
|
||||
it('should build groupby with series in form data', () => {
|
||||
test('should build groupby with series in form data', () => {
|
||||
const queryContext = buildQuery(formData);
|
||||
const [query] = queryContext.queries;
|
||||
expect(query.columns).toEqual(['foo']);
|
||||
|
||||
@@ -41,7 +41,7 @@ describe('Handlebars transformProps', () => {
|
||||
theme: supersetTheme,
|
||||
});
|
||||
|
||||
it('should transform chart props for viz', () => {
|
||||
test('should transform chart props for viz', () => {
|
||||
expect(transformProps(chartProps)).toEqual(
|
||||
expect.objectContaining({
|
||||
width: 800,
|
||||
|
||||
Reference in New Issue
Block a user