module.exports = { collectCoverageFrom: [ 'src/**/*.{js,jsx}' ], coveragePathIgnorePatterns: [ '/src/locales' ], moduleNameMapper: { '\\.(css|scss|less)$': '/__mocks__/styleMock.js' }, setupTestFrameworkScriptFile: '/jest.setup.js', testMatch: [ '/__tests__/**/*.{js,jsx}' ], testEnvironment: 'jsdom', testURL: 'http://127.0.0.1:3001', transform: { '^.+\\.(js|jsx)$': 'babel-jest', '\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$': '/__mocks__/fileMock.js', }, transformIgnorePatterns: [ '[/\\\\]node_modules[/\\\\].+\\.(?!(axios)/)(js|jsx)$' ] };