Files
paperless-ngx/src-ui/jest.config.js
T

27 lines
582 B
JavaScript
Raw Normal View History

2022-03-22 14:33:00 +01:00
module.exports = {
2022-03-23 08:33:19 +01:00
preset: 'jest-preset-angular',
setupFilesAfterEnv: ['<rootDir>/setup-jest.ts'],
2023-05-23 15:02:54 -07:00
testPathIgnorePatterns: [
'/node_modules/',
'/e2e/',
'abstract-name-filter-service',
'abstract-paperless-service',
],
transformIgnorePatterns: [
`<rootDir>/node_modules/.pnpm/(?!.*\\.mjs$|lodash-es)`,
],
2023-05-23 15:02:54 -07:00
moduleNameMapper: {
'^src/(.*)': '<rootDir>/src/$1',
},
workerIdleMemoryLimit: '512MB',
reporters: [
'default',
[
'jest-junit',
{
classNameTemplate: '{filepath}/{classname}: {title}',
},
],
],
2022-03-23 08:33:19 +01:00
}