1
0
mirror of synced 2025-02-16 12:43:14 +03:00
vue-formulario/test/jest.conf.js
2019-11-01 16:14:32 -04:00

21 lines
412 B
JavaScript

const path = require('path')
module.exports = {
rootDir: path.resolve(__dirname, '../'),
moduleFileExtensions: [
'js',
'json',
'vue'
],
moduleNameMapper: {
'^@/(.*)$': '<rootDir>/src/$1'
},
transform: {
// '.*\\.js$': '<rootDir>/node_modules/babel-jest',
'.*\\.(vue)$': '<rootDir>/node_modules/jest-vue-preprocessor'
},
collectCoverageFrom: [
"src/*.{js,vue}",
]
}