text: const path = require('path')
  
  module.exports = {
    rootDir: path.resolve(__dirname, '../../'),
    moduleFileExtensions: [
      'js',
      'json',
      'vue'
    ],
    moduleNameMapper: {
      '^src/(.*)$': '<rootDir>/src/$1',
      '^userdata/(.*)$': '<rootDir>/userdata/$1'
    },
    transform: {
      '^.+\\.js$': '<rootDir>/node_modules/babel-jest',
      '.*\\.(vue)$': '<rootDir>/node_modules/vue-jest'
    },
    testPathIgnorePatterns: [
      '<rootDir>/test/e2e'
    ],
    snapshotSerializers: ['<rootDir>/node_modules/jest-serializer-vue'],
    setupFiles: ['<rootDir>/test/unit/setup'],
    mapCoverage: true,
    coverageDirectory: '<rootDir>/test/unit/coverage',
    collectCoverageFrom: [
      'src/store/**/*.{js}',
      'src/utils/**/*.{js}',
      '!src/store/index.js'
    ]
  }
  