module.exports = { collectCoverageFrom: [ 'src/**/*.{js,jsx}' ], coveragePathIgnorePatterns: [ '/src/locales', 'index.js' ], moduleNameMapper: { '\\.(css|scss|less)$': '/__mocks__/styleMock.js', '^@api(.*)$': '/src/api$1', '^@components(.*)$': '/src/components$1', '^@contexts(.*)$': '/src/contexts$1', '^@screens(.*)$': '/src/screens$1', '^@util(.*)$': '/src/util$1', '^@types(.*)$': '/src/types$1', '^@testUtils(.*)$': '/testUtils$1', }, setupFiles: [ '@nteract/mockument' ], setupFilesAfterEnv: ['/jest.setup.js'], snapshotSerializers: [ "enzyme-to-json/serializer" ], testMatch: [ '/**/*.test.{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)$' ], watchPathIgnorePatterns: [ '/node_modules' ] };