/* @flow */
module.exports = {
  coverageDirectory: 'reports/coverage',
  coveragePathIgnorePatterns: [
    '/node_modules/',
    '/packages/mineral-ui-icons',
    '/website/'
  ],
  moduleNameMapper: {
    '.*react-docgen-loader.*': '<rootDir>/utils/emptyObject.js',
    '.(md|svg)$': '<rootDir>/utils/emptyString.js'
  },
  setupFiles: ['raf/polyfill'],
  setupTestFrameworkScriptFile: '<rootDir>/utils/setupTestFrameworkScript.js',
  snapshotSerializers: [
    'enzyme-to-json/serializer',
    '<rootDir>/utils/snapshotSerializer'
  ]
};

/* @flow */
module.exports = {
  coverageDirectory: 'reports/coverage',
  coveragePathIgnorePatterns: [
    '/node_modules/',
    '/packages/mineral-ui-icons',
    '/website/'
  ],
  moduleNameMapper: {
    '.*react-docgen-loader.*': '<rootDir>/utils/emptyObject.js',
    '.(md|svg)$': '<rootDir>/utils/emptyString.js'
  },
  setupFiles: ['raf/polyfill'],
  setupTestFrameworkScriptFile: '<rootDir>/utils/setupTestFrameworkScript.js',
  snapshotSerializers: [
    'enzyme-to-json/serializer',
    '<rootDir>/utils/snapshotSerializer'
  ],
  testURL: 'http://localhost/'
};

Update testURL to accommodate JSDOM update
chore(jest): Update testURL to accommodate JSDOM update

- See https://github.com/jsdom/jsdom/issues/2304
