feat(fe): finish Vitest migration for TS-based unit tests

This commit is contained in:
hainenber
2026-03-01 17:41:01 +07:00
parent 1565fd7f7a
commit 4d05cdd78b
120 changed files with 5456 additions and 6239 deletions

View File

@@ -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', () => {