Merge branch 'feat/inda-383-daily-stat' into 'main'
[ProtonMail-WebClient.git] / packages / recovery-kit / jest.config.js
blob5e048da218d1f6fc67b6bb634ba9059583c9308c
1 module.exports = {
2     setupFilesAfterEnv: ['./jest.setup.js'],
3     preset: 'ts-jest',
4     testRegex: '.*\\.test\\.ts$',
5     clearMocks: true,
6     collectCoverage: true,
7     coverageReporters: ['text-summary', 'json'],
8     reporters: ['default', ['jest-junit', { suiteNameTemplate: '{filepath}', outputName: 'test-report.xml' }]],
9     coverageThreshold: {
10         global: {
11             branches: 90,
12             functions: 100,
13             lines: 97,
14             statements: 97,
15         },
16     },