/*eslint-env node*/ module.exports = { verbose: false, collectCoverageFrom: [ 'tests/js/spec/**/*.{js,jsx}', 'src/sentry/static/sentry/app/**/*.{js,jsx,ts,tsx}', ], coverageReporters: ['html', 'lcov', 'cobertura'], coverageDirectory: '.artifacts/coverage/', snapshotSerializers: ['enzyme-to-json/serializer'], moduleNameMapper: { '^sentry-test/(.*)': '/tests/js/sentry-test/$1', '\\.(css|less|png)$': '/tests/js/sentry-test/importStyleMock.js', '\\.(svg)$': '/tests/js/sentry-test/svgMock.js', 'integration-docs-platforms': '/tests/fixtures/integration-docs/_platforms.json', }, modulePaths: ['/src/sentry/static/sentry'], setupFiles: [ '/tests/js/throw-on-react-error.js', '/tests/js/setup.js', 'jest-canvas-mock', ], setupFilesAfterEnv: ['/tests/js/setupFramework.js'], testMatch: ['/tests/js/**/?(*.)(spec|test).js?(x)'], testPathIgnorePatterns: ['/tests/sentry/lang/javascript/'], unmockedModulePathPatterns: [ '/node_modules/react', '/node_modules/reflux', ], transform: { '^.+\\.jsx?$': 'babel-jest', '^.+\\.tsx?$': 'babel-jest', }, moduleFileExtensions: ['js', 'ts', 'jsx', 'tsx'], globals: {}, };