Merge remote-tracking branch 'origin/dev' into feat/endpoints-beschermen-met-authenticatie-#105
This commit is contained in:
		
						commit
						6337346acb
					
				
					 17 changed files with 495 additions and 12 deletions
				
			
		|  | @ -14,7 +14,8 @@ | |||
|         "format-check": "prettier --check src/", | ||||
|         "lint": "eslint . --fix", | ||||
|         "pretest:unit": "tsx ../docs/api/generate.ts && npm run build", | ||||
|         "test:unit": "vitest --run" | ||||
|         "test:unit": "vitest --run", | ||||
|         "test:coverage": "vitest --run --coverage.enabled true" | ||||
|     }, | ||||
|     "dependencies": { | ||||
|         "@mikro-orm/core": "6.4.12", | ||||
|  |  | |||
|  | @ -5,5 +5,17 @@ export default defineConfig({ | |||
|         environment: 'node', | ||||
|         globals: true, | ||||
|         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*', '**/tests/**', 'src/*.ts', '**/dist/**', '**/node_modules/**', 'src/logging/**', 'src/routes/**'], | ||||
|             thresholds: { | ||||
|                 lines: 50, | ||||
|                 branches: 50, | ||||
|                 functions: 50, | ||||
|                 statements: 50, | ||||
|             }, | ||||
|         }, | ||||
|     }, | ||||
| }); | ||||
|  |  | |||
		Reference in a new issue
	
	 Gabriellvl
						Gabriellvl