mirror of
https://github.com/tornadocash/tornado-classic-ui
synced 2024-02-02 15:04:09 +01:00
15 lines
388 B
JavaScript
15 lines
388 B
JavaScript
|
module.exports = {
|
||
|
moduleNameMapper: {
|
||
|
'^@/(.*)$': '<rootDir>/$1',
|
||
|
'^~/(.*)$': '<rootDir>/$1',
|
||
|
'^vue$': 'vue/dist/vue.common.js'
|
||
|
},
|
||
|
moduleFileExtensions: ['js', 'vue', 'json'],
|
||
|
transform: {
|
||
|
'^.+\\.js$': 'babel-jest',
|
||
|
'.*\\.(vue)$': 'vue-jest'
|
||
|
},
|
||
|
collectCoverage: true,
|
||
|
collectCoverageFrom: ['<rootDir>/components/**/*.vue', '<rootDir>/pages/**/*.vue']
|
||
|
}
|