module.exports = {
  // verbose: true,
  modulePaths: [
    '<rootDir>',
  ],
  moduleNameMapper: {
    '^C/(.*)$': '<rootDir>/src/components/$1',
    '^App/(.*)$': '<rootDir>/src/app/$1',
    '^Page/(.*)$': '<rootDir>/src/page/$1',
    '^appConfig$': '<rootDir>/config/app.dev.js', // dev api config
  },
  moduleFileExtensions: [
    'js',
    'json',
    'vue',
  ],
  transform: {
    '^.+\\.js$': '<rootDir>/node_modules/babel-jest',
    '.*\\.(vue)$': '<rootDir>/node_modules/vue-jest',
  },
  snapshotSerializers: [
    'jest-serializer-vue',
  ],
  testPathIgnorePatterns: [
    '__tests__/data',
  ],
}
