module.exports = { coverageDirectory: '/coverage', collectCoverageFrom: [ 'src/**/*.js', '!src/registerServiceWorker.js', '!src/index.js', '!src/**/provideServices.js', '!src/container/*.js', ], setupFiles: [ '/config/polyfills.js', '/config/setupEnzyme.js', ], testMatch: [ '/test/**/*.test.{js,jsx,mjs}' ], testEnvironment: 'node', testURL: 'http://localhost', transform: { '^.+\\.(js|jsx|mjs)$': '/node_modules/babel-jest', '^.+\\.css$': '/config/jest/cssTransform.js', '^(?!.*\\.(js|jsx|mjs|css|json)$)': '/config/jest/fileTransform.js', }, transformIgnorePatterns: [ '[/\\\\]node_modules[/\\\\].+\\.(js|jsx|mjs)$' ], moduleNameMapper: { '^react-native$': 'react-native-web', }, moduleFileExtensions: [ 'web.js', 'js', 'json', 'web.jsx', 'jsx', 'node', 'mjs', ], };