mirror of
				https://scm.univ-tours.fr/22107988t/rappaurio-sae501_502.git
				synced 2025-11-04 01:05:22 +01:00 
			
		
		
		
	permet l'ajout des frameworks et des routes
This commit is contained in:
		
							
								
								
									
										27
									
								
								app/node_modules/express-handlebars/jest.config.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										27
									
								
								app/node_modules/express-handlebars/jest.config.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,27 @@
 | 
			
		||||
module.exports = {
 | 
			
		||||
	preset: "ts-jest",
 | 
			
		||||
	testEnvironment: "node",
 | 
			
		||||
	restoreMocks: true,
 | 
			
		||||
	clearMocks: true,
 | 
			
		||||
	collectCoverageFrom: [
 | 
			
		||||
		"lib/**/*.ts",
 | 
			
		||||
	],
 | 
			
		||||
	coverageDirectory: "coverage",
 | 
			
		||||
	coverageThreshold: {
 | 
			
		||||
		global: {
 | 
			
		||||
			branches: 100,
 | 
			
		||||
			functions: 100,
 | 
			
		||||
			lines: 100,
 | 
			
		||||
			statements: 100,
 | 
			
		||||
		},
 | 
			
		||||
	},
 | 
			
		||||
	testRegex: /\.test\.tsx?/.source,
 | 
			
		||||
	transform: {
 | 
			
		||||
		[/\.test\.tsx?/.source]: [
 | 
			
		||||
			"ts-jest", {
 | 
			
		||||
				diagnostics: false,
 | 
			
		||||
			},
 | 
			
		||||
		],
 | 
			
		||||
	},
 | 
			
		||||
	moduleFileExtensions: ["js", "json", "jsx", "d.ts", "ts", "tsx", "node"],
 | 
			
		||||
};
 | 
			
		||||
		Reference in New Issue
	
	Block a user