mirror of
https://github.com/apache/superset.git
synced 2026-04-18 23:55:00 +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:
@@ -113,13 +113,13 @@ describe('CartodiagramPlugin transformProps', () => {
|
||||
registry.clear();
|
||||
});
|
||||
|
||||
it('should call the transform props function of the referenced chart', () => {
|
||||
test('should call the transform props function of the referenced chart', () => {
|
||||
transformProps(chartProps);
|
||||
expect(chartTransformPropsPieMock).toHaveBeenCalled();
|
||||
expect(chartTransformPropsTimeseriesMock).not.toHaveBeenCalled();
|
||||
});
|
||||
|
||||
it('should transform chart props for viz', () => {
|
||||
test('should transform chart props for viz', () => {
|
||||
const transformedProps = transformProps(chartProps);
|
||||
expect(transformedProps).toEqual(
|
||||
expect.objectContaining({
|
||||
|
||||
Reference in New Issue
Block a user