mirror of
https://github.com/apache/superset.git
synced 2026-05-07 08:54:23 +00:00
feat(fe): finish Vitest migration for TS-based unit tests
This commit is contained in:
@@ -175,7 +175,7 @@ describe('transformPropsUtil', () => {
|
||||
});
|
||||
|
||||
describe('getChartConfigs', () => {
|
||||
let chartTransformer: jest.MockedFunction<any>;
|
||||
let chartTransformer: vi.MockedFunction<any>;
|
||||
const geomColumn = 'geom';
|
||||
const pieChartConfig = {
|
||||
params: {},
|
||||
@@ -189,7 +189,7 @@ describe('transformPropsUtil', () => {
|
||||
],
|
||||
};
|
||||
beforeEach(() => {
|
||||
chartTransformer = jest.fn();
|
||||
chartTransformer = vi.fn();
|
||||
});
|
||||
|
||||
test('calls the transformProps function for every location', () => {
|
||||
|
||||
Reference in New Issue
Block a user