padraigfl/packard-belle

View on GitHub
jest.config.js

Summary

Maintainability
A
0 mins
Test Coverage
module.exports = { // eslint-disable-line
  verbose: true,
  setupTestFrameworkScriptFile: './src/setupTests.js',
  collectCoverageFrom: [
    'src/**/*.js',
  ],
  testEnvironment: 'jsdom',
  transform: {
    '^.+\\.js?$': 'babel-jest',
  },
  testURL: 'http://localhost/',
  moduleNameMapper: {
    '^.+\\.(css|less|scss)$': 'babel-jest',
  },
};