14nrv/buefy-shop

View on GitHub
jest.config.js

Summary

Maintainability
A
0 mins
Test Coverage
module.exports = {
  moduleFileExtensions: [
    'js',
    'json',
    'vue'
  ],
  transform: {
    '^.+\\.js$': 'babel-jest',
    '^.+\\.vue$': 'vue-jest'
  },
  moduleNameMapper: {
    '^@/(.*)$': '<rootDir>/$1',
    '\\.(css|styl)$': 'identity-obj-proxy'
  },
  reporters: process.env.CI ? ['default', 'jest-junit'] : undefined,
  testPathIgnorePatterns: ['<rootDir>/__tests__/__mocks__']
}