actions: nieuw npm script voor coverage toegevoegd

This commit is contained in:
Timo De Meyst 2025-04-04 18:09:08 +02:00
parent 8766bd40c7
commit be2ef0c79d
2 changed files with 4 additions and 2 deletions

View file

@ -13,7 +13,8 @@
"format-check": "prettier --check src/",
"lint": "eslint . --fix",
"pretest:unit": "npm run build",
"test:unit": "vitest --run"
"test:unit": "vitest --run",
"test:coverage": "vitest --run --coverage.enabled true"
},
"dependencies": {
"@mikro-orm/core": "6.4.9",

View file

@ -13,7 +13,8 @@
"format-check": "npm run format-check --workspace=backend --workspace=common --workspace=frontend",
"lint": "npm run lint --workspace=backend --workspace=common --workspace=frontend",
"pretest:unit": "npm run build",
"test:unit": "npm run test:unit --workspace=backend --workspace=frontend"
"test:unit": "npm run test:unit --workspace=backend --workspace=frontend",
"test:coverage": "npm run test:coverage --workspace=backend --workspace=frontend"
},
"workspaces": [
"backend",