module.exports = { coverageDirectory: 'coverage', collectCoverage: true, collectCoverageFrom: ['src/**/*.{ts,tsx}'], coverageThreshold: { global: { branches: 93, functions: 99, lines: 99, statements: 99, }, }, coveragePathIgnorePatterns: ['/src/components/scrolling-carousel'], testPathIgnorePatterns: ['/__tests__/__fixtures__/'], transform: { '^.+\\.tsx?$': 'ts-jest', '^.+\\.css$': 'jest-transform-css', }, setupFilesAfterEnv: ['@testing-library/jest-dom/extend-expect'], testRegex: '(/__tests__/.*|(\\.|/)(test|spec))\\.tsx?$', moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'], };