module.exports = { roots: [ '/test' ], testMatch: [ '/test/**/__tests__/**/*.{vue,js,jsx,ts,tsx}', '/test/**/*.{spec,test}.{vue,js,jsx,ts,tsx}' ], setupFilesAfterEnv: ['/test/init.js'], verbose: true, testEnvironment: 'jsdom', transform: { '^.+\\.(vue)$': '/node_modules/vue-jest', '^.+\\.(js|jsx|mjs|cjs|ts|tsx)$': '/node_modules/babel-jest' }, transformIgnorePatterns: [ '/node_modules/', '[/\\\\]node_modules[/\\\\].+\\.(js|jsx|mjs|cjs|ts|tsx)$', '^.+\\.module\\.(css|sass|scss|less)$' ], moduleFileExtensions: [ 'vue', 'js', 'jsx', 'ts', 'tsx', 'json', 'node' ], moduleNameMapper: { '@/(.*)$': '/src/$1' }, resetMocks: true }