File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- npx lint-staged
1+ npx lint-staged || {
2+ printf "\n\nERROR: Linting issues were found in the committed files. Please address them before proceeding.\n\n\n\n"
3+ exit 1
4+ }
Original file line number Diff line number Diff line change 1+ npm run build
2+
3+ npm run test:coverage || {
4+ echo "ERROR: Testing errors or coverage issues were found. Please address them before proceeding."
5+ exit 1
6+ }
Original file line number Diff line number Diff line change @@ -30,6 +30,14 @@ module.exports = {
3030 '!src/app/**/public-api.ts' ,
3131 ] ,
3232 extensionsToTreatAsEsm : [ '.ts' ] ,
33+ coverageThreshold : {
34+ global : {
35+ statements : 37.83 ,
36+ branches : 11.89 ,
37+ functions : 12.12 ,
38+ lines : 37.27 ,
39+ } ,
40+ } ,
3341 testPathIgnorePatterns : [
3442 '<rootDir>/src/app/features/registry/' ,
3543 '<rootDir>/src/app/features/project/' ,
You can’t perform that action at this time.
0 commit comments