Merge branch 'feat/inda-383-daily-stat' into 'main'
[ProtonMail-WebClient.git] / packages / metrics / jest.config.js
blobb160cf4ce91e214e889a8ef87fefebfc727ddd34
1 module.exports = {
2     setupFilesAfterEnv: ['./jest.setup.js'],
3     preset: 'ts-jest',
4     testRegex: 'tests/.*\\.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: 93,
12             functions: 100,
13             lines: 98,
14             statements: 98,
15         },
16     },