text: module.exports = {
    preset: '@vue/cli-plugin-unit-jest/presets/typescript-and-babel',
    testMatch: [
      '**/*.spec.(js|jsx|ts|tsx)|**/__tests__/*.(js|jsx|ts|tsx)',
    ],
    moduleNameMapper: {
      '\\.(css|less)$': 'identity-obj-proxy',
    },
    collectCoverage: false,
    collectCoverageFrom: [
      'src/**/*.(js|vue)',
      '!src/**/*.demo.vue',
    ],
    coverageReporters: ['text', 'text-summary'],
    testEnvironment: 'jsdom',
    transform: {
      '^.+\\.vue$': 'vue-jest',
      '^.+\\js$': 'babel-jest',
    },
    moduleFileExtensions: ['vue', 'js', 'json', 'jsx', 'ts', 'tsx', 'node'],
    globals: {
      'ts-jest': {
        diagnostics: false,
      },
    },
  }
  