You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
655 B
22 lines
655 B
module.exports = { |
|
coverageDirectory: 'coverage', |
|
collectCoverage: true, |
|
collectCoverageFrom: ['src/**/*.{ts,tsx}'], |
|
coverageThreshold: { |
|
global: { |
|
branches: 100, |
|
functions: 100, |
|
lines: 100, |
|
statements: 100, |
|
}, |
|
}, |
|
coveragePathIgnorePatterns: ['<rootDir>/src/components/scrolling-carousel'], |
|
testPathIgnorePatterns: ['<rootDir>/__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'], |
|
};
|
|
|