module.exports = { preset: 'ts-jest', globals: { __DEV__: true, __TEST__: true, __VERSION__: require('./package.json').version, __BROWSER__: false, __BUNDLER__: true, __RUNTIME_COMPILE__: true, __FEATURE_OPTIONS__: true, __FEATURE_SUSPENSE__: true }, coverageDirectory: 'coverage', coverageReporters: ['html', 'lcov', 'text'], collectCoverageFrom: [ 'packages/*/src/**/*.ts', '!packages/runtime-test/src/utils/**', '!packages/template-explorer/**', '!packages/size-check/**' ], watchPathIgnorePatterns: ['/node_modules/'], moduleFileExtensions: ['ts', 'tsx', 'js', 'json'], moduleNameMapper: { '^@vue/(.*?)$': '/packages/$1/src' }, rootDir: __dirname, testMatch: ['/packages/**/__tests__/**/*spec.[jt]s?(x)'] }