Use source loader for email sprite icons
[ProtonMail-WebClient.git] / packages / srp / jest.config.js
blob8a78076ec017058f2cba597ae0ea11bb9d886fd1
1 module.exports = {
2     preset: 'ts-jest',
3     moduleDirectories: ['<rootDir>/node_modules', 'node_modules'],
4     transformIgnorePatterns: [
5         'node_modules/(?!(@proton/shared|@proton/components|@protontech/mutex-browser|pmcrypto|pmcrypto-v6-canary|openpgp|@openpgp/web-stream-tools|@openpgp/asmcrypto.js|@openpgp/noble-hashes|@protontech/bip39|jsmimeparser|emoji-mart|msw|@mswjs)/)',
6     ],
7     testRegex: 'lib/.*\\.test\\.ts$',
8     clearMocks: true,
9     collectCoverage: false,
10     coverageReporters: ['text-summary', 'json'],
11     reporters: ['default', ['jest-junit', { suiteNameTemplate: '{filepath}', outputName: 'test-report.xml' }]],
12     transform: {
13         '.*': [
14             'ts-jest',
15             {
16                 babelConfig: true,
17             },
18         ],
19     },
20     resolver: './jest.resolver.js',