Ajout des tests
This commit is contained in:
+23
-2
@@ -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"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user