Merge branch 'fix-typo-drive' into 'main'
[ProtonMail-WebClient.git] / packages / hooks / jest.config.js
blob44910296460ab6ab25ba6f12817599f38ec85592
1 module.exports = {
2     preset: 'ts-jest',
3     clearMocks: true,
4     testEnvironment: 'jsdom',
5     collectCoverageFrom: ['*.ts', '!index.ts'],
6     reporters: ['default', ['jest-junit', { suiteNameTemplate: '{filepath}', outputName: 'test-report.xml' }]],
7     coverageThreshold: {
8         global: {
9             branches: 100,
10             functions: 100,
11             lines: 100,
12             statements: 100,
13         },
14     },