mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-10-30 18:22:40 -04:00 
			
		
		
		
	
		
			
				
	
	
		
			27 lines
		
	
	
		
			609 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
		
			609 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/.pnpm/(?!.*\\.mjs$|lodash-es|@angular\\+common.*locales)`,
 | |
|   ],
 | |
|   moduleNameMapper: {
 | |
|     '^src/(.*)': '<rootDir>/src/$1',
 | |
|   },
 | |
|   workerIdleMemoryLimit: '512MB',
 | |
|   reporters: [
 | |
|     'default',
 | |
|     [
 | |
|       'jest-junit',
 | |
|       {
 | |
|         classNameTemplate: '{filepath}/{classname}: {title}',
 | |
|       },
 | |
|     ],
 | |
|   ],
 | |
| }
 |