const path = require('path') module.exports = { rootDir: path.resolve(__dirname, '..'), verbose: true, testURL: 'http://localhost/', moduleFileExtensions: [ 'js', 'vue', 'ts', 'json' ], testRegex: '(/__test__/.*|(\\.|/)(test|spec))\\.(ts|js)?$', testPathIgnorePatterns: [ 'test.js', path.resolve(__dirname, '../test') ], moduleNameMapper: { '^@/(.*)$': '/$1' }, transform: { '^.+\\.js$': '/node_modules/babel-jest', '.*\\.(vue)$': '/node_modules/vue-jest', '^.+\\.ts?$': '/node_modules/ts-jest' }, snapshotSerializers: [ '/node_modules/jest-serializer-vue' ] }