mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-02 13:45:10 -05:00
16 lines
420 B
JavaScript
16 lines
420 B
JavaScript
module.exports = {
|
|
preset: 'jest-preset-angular',
|
|
setupFilesAfterEnv: ['<rootDir>/setup-jest.ts'],
|
|
testPathIgnorePatterns: [
|
|
'/node_modules/',
|
|
'/e2e/',
|
|
'abstract-name-filter-service',
|
|
'abstract-paperless-service',
|
|
],
|
|
transformIgnorePatterns: [`<rootDir>/node_modules/(?!.*\\.mjs$|lodash-es)`],
|
|
moduleNameMapper: {
|
|
'^src/(.*)': '<rootDir>/src/$1',
|
|
},
|
|
workerIdleMemoryLimit: '512MB',
|
|
}
|