Ajout des tests

This commit is contained in:
2026-05-23 20:18:18 +02:00
parent 5b5edbb3da
commit 80f8b56ec4
10 changed files with 1222 additions and 9 deletions
+23 -2
View File
@@ -25,7 +25,9 @@
"input": "public"
}
],
"styles": ["src/styles.css"]
"styles": [
"src/styles.css"
]
},
"configurations": {
"production": {
@@ -64,7 +66,26 @@
"defaultConfiguration": "development"
},
"test": {
"builder": "@angular/build:unit-test"
"builder": "@angular/build:unit-test",
"options": {
"coverage": true,
"coverageReporters": [
"text",
"lcov"
],
"coverageThresholds": {
"lines": 90,
"functions": 90,
"branches": 80,
"statements": 90
},
"coverageExclude": [
"src/main.ts",
"src/app/app.config.ts",
"src/app/app.routes.ts",
"**/*.html"
]
}
}
}
}