1
0
mirror of synced 2025-01-19 17:01:43 +03:00
vue-formulario/test/jest.conf.js

25 lines
467 B
JavaScript
Raw Normal View History

const path = require('path')
module.exports = {
rootDir: path.resolve(__dirname, '../'),
moduleFileExtensions: [
'js',
'json',
'vue'
],
moduleNameMapper: {
'^@/(.*)$': '<rootDir>/src/$1'
},
2019-11-01 17:12:27 -04:00
modulePaths: [
"<rootDir>"
],
transform: {
2019-11-01 16:21:16 -04:00
'.*\\.js$': '<rootDir>/node_modules/babel-jest',
'.*\\.(vue)$': '<rootDir>/node_modules/jest-vue-preprocessor'
},
collectCoverageFrom: [
"src/*.{js,vue}",
],
// verbose: true
}