module.exports = { preset: 'ts-jest', setupFiles: ['/test/jest.init.js'], moduleFileExtensions: ['js', 'vue', 'ts', 'tsx'], transform: { '^.+\\.(js|ts|tsx)$': '/test/jest.transform.js', '.*\\.(vue)$': '/node_modules/vue-jest' }, moduleNameMapper: { '^src/(.*)$': '/src/$1' }, snapshotSerializers: ['/node_modules/jest-serializer-vue'], collectCoverageFrom: [ 'src/**/*.{js,ts,tsx,vue}', '!**/style/**', '!**/demo/**', '!**/locale/lang/**', '!**/sku/**' ], collectCoverage: true, coverageReporters: ['html', 'lcov', 'text-summary'], coverageDirectory: './test/coverage' };