mirror of
https://github.com/jellyfin/jellyfin-vue.git
synced 2024-12-11 07:48:29 +00:00
19 lines
435 B
JavaScript
19 lines
435 B
JavaScript
module.exports = {
|
|
moduleNameMapper: {
|
|
'^@/(.*)$': '<rootDir>/$1',
|
|
'^~/(.*)$': '<rootDir>/$1',
|
|
'^vue$': 'vue/dist/vue.common.js'
|
|
},
|
|
moduleFileExtensions: ['ts', 'js', 'vue', 'json'],
|
|
transform: {
|
|
'^.+\\.ts$': 'ts-jest',
|
|
'^.+\\.js$': 'babel-jest',
|
|
'.*\\.(vue)$': 'vue-jest'
|
|
},
|
|
collectCoverage: true,
|
|
collectCoverageFrom: [
|
|
'<rootDir>/components/**/*.vue',
|
|
'<rootDir>/pages/**/*.vue'
|
|
]
|
|
};
|