How do I exclude ts.files in SonarQube Analysis for better Code Coverage.
I tried with with below code
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "src/test.ts",
"polyfills": "src/polyfills.ts",
"tsConfig": "src/tsconfig.spec.json",
"karmaConfig": "src/karma.conf.js",
"codeCoverageExclude": [
"src/app/user/about-report/about-report.component.ts"
],
}
}
But no luck its is getting analized in sonar. Can you help me out. I am using Angular 7.