Outillage tests unitaires frontend : couverture Vitest, scripts npm, conventions TESTING.md.

This commit is contained in:
valentin
2026-09-14 16:41:45 +02:00
parent 06a8ae42d2
commit 34890b2b04
5 changed files with 312 additions and 2 deletions
+18 -1
View File
@@ -77,7 +77,24 @@
"defaultConfiguration": "development"
},
"test": {
"builder": "@angular/build:unit-test"
"builder": "@angular/build:unit-test",
"options": {
"coverage": true,
"coverageReporters": [
"text-summary",
"lcov",
"html"
],
"reporters": [
"default",
[
"junit",
{
"outputFile": "test-results/junit.xml"
}
]
]
}
}
}
}