Merge branch 'dev' into release/0.2.0

This commit is contained in:
Tibo De Peuter 2025-04-24 19:58:25 +02:00
commit ce06cfc8e2
Signed by: tdpeuter
GPG key ID: 38297DE43F75FFE2
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,
},
},
},
});