1
0
mirror of synced 2024-11-22 05:16:05 +03:00
vue-formulario/test/jest.conf.js
2019-10-07 10:24:30 -04:00

18 lines
358 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'
}
}