Merge remote-tracking branch 'origin/dev' into feat/endpoints-beschermen-met-authenticatie-#105

This commit is contained in:
Gabriellvl 2025-05-01 22:17:31 +02:00
commit 6337346acb
17 changed files with 495 additions and 12 deletions

View file

@ -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",

View file

@ -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,
},
},
},
});