mirror of
https://github.com/mashirozx/sakura.git
synced 2024-11-14 10:58:12 +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',
|
|
},
|
|
}
|