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