LiveAtlas/jest.config.ts

20 lines
314 B
TypeScript
Raw Normal View History

2021-09-10 14:32:48 +00:00
export default {
preset: 'ts-jest',
moduleFileExtensions: [
'js',
'ts',
'json',
'vue'
],
transform: {
'^.+\\.ts$': 'ts-jest',
'^.+\\.vue$': 'vue-jest'
},
moduleNameMapper: {
'^@/(.*)$': '<rootDir>/src/$1',
},
setupFilesAfterEnv: [
'<rootDir>/tests/setup.ts'
]
}