actions: nieuw npm script voor coverage toegevoegd
This commit is contained in:
parent
8766bd40c7
commit
be2ef0c79d
2 changed files with 4 additions and 2 deletions
|
@ -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",
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue