mirror of
https://github.com/mashirozx/sakura.git
synced 2024-12-12 09:54:35 +08:00
14 lines
296 B
JavaScript
14 lines
296 B
JavaScript
module.exports = {
|
|
preset: 'ts-jest',
|
|
testEnvironment: 'jsdom',
|
|
moduleNameMapper: {
|
|
'@/(.*)$': '<rootDir>/src/$1',
|
|
// '^vue$': 'vue/dist/vue.esm-bundler.js',
|
|
},
|
|
transform: {
|
|
'^.+\\.vue$': 'vue-jest',
|
|
// '^.+\\js$': 'babel-jest',
|
|
'^.+\\.(t|j)sx?$': 'ts-jest',
|
|
},
|
|
}
|