- Fix ContactListItem test assertion for open-offer-dialog event emission - Convert config files from CommonJS to ESM using .mts extensions - Remove unused vite.config.utils.js file - All 326 tests now passing with 1 skipped The Vue event test was expecting emittedData[0] to be an array, but emittedData itself contains the emitted parameters. Config files now use modern ESM syntax with .mts extensions for better tooling support. Note: Vite CJS deprecation warning persists due to Vitest 2.x/Vite 5.x compatibility - this is a known issue that doesn't affect functionality.
11 lines
229 B
TypeScript
11 lines
229 B
TypeScript
export default {
|
|
preset: 'ts-jest',
|
|
testEnvironment: 'node',
|
|
moduleFileExtensions: ['ts', 'js', 'json', 'vue'],
|
|
transform: {
|
|
'^.+\\.ts$': 'ts-jest'
|
|
},
|
|
moduleNameMapper: {
|
|
'^@/(.*)$': '<rootDir>/src/$1'
|
|
}
|
|
};
|