actions: backend vitest geconfigureerd voor coverage
This commit is contained in:
		
							parent
							
								
									2a0d7e4626
								
							
						
					
					
						commit
						8766bd40c7
					
				
					 1 changed files with 12 additions and 0 deletions
				
			
		|  | @ -5,5 +5,17 @@ export default defineConfig({ | ||||||
|         environment: 'node', |         environment: 'node', | ||||||
|         globals: true, |         globals: true, | ||||||
|         testTimeout: 100000, |         testTimeout: 100000, | ||||||
|  |         coverage: { | ||||||
|  |             reporter: ['text', 'json-summary', 'json'], | ||||||
|  |             // If you want a coverage reports even if your tests are failing, include the reportOnFailure option
 | ||||||
|  |             reportOnFailure: true, | ||||||
|  |             exclude: ['**/*config*'], | ||||||
|  |             thresholds: { | ||||||
|  |                 lines: 60, | ||||||
|  |                 branches: 60, | ||||||
|  |                 functions: 60, | ||||||
|  |                 statements: 60 | ||||||
|  |               }, | ||||||
|  |           }, | ||||||
|     }, |     }, | ||||||
| }); | }); | ||||||
|  |  | ||||||
		Reference in a new issue
	
	 Timo De Meyst
						Timo De Meyst