module.exports = { moduleFileExtensions: ['js', 'json'], transform: { '^.+\\.js$': 'babel-jest', // .vue SFC transform (test-only infra, see __tests__/vue-transform.js) '^.+\\.vue$': '/__tests__/vue-transform.js' }, moduleNameMapper: { '^@/(.*)$': '/$1' }, testEnvironment: 'node', testMatch: ['**/__tests__/**/*.test.js', '**/__tests__/**/*.spec.js'], setupFiles: ['/__tests__/setup.js'], collectCoverageFrom: [ 'utils/**/*.js', 'store/**/*.js', 'config.js' ] }