Merge branch 'fix-typo-drive' into 'main'
[ProtonMail-WebClient.git] / packages / utils / jest.config.js
blob09c5b884e3fa9aff7d63436b5e991626f4ce702d
1 module.exports = {
2     setupFilesAfterEnv: ['./jest.setup.js'],
3     preset: 'ts-jest',
4     testEnvironment: '@proton/jest-env',
5     collectCoverageFrom: ['*.ts'],
6     coverageReporters: ['text-summary', 'json'],
7     reporters: ['default', ['jest-junit', { suiteNameTemplate: '{filepath}', outputName: 'test-report.xml' }]],
8     coverageThreshold: {
9         global: {
10             branches: 100,
11             functions: 100,
12             lines: 100,
13             statements: 100,
14         },
15     },