Hello
When adjusting this field in the sonarqube-project.properties file, it looks like files get excluded in the code, but even ones that aren’t included. Also, it seems like we can’t add files back to the coverage.
I need only test .ts files to cover
sonarqube-project.properties file,
sonar.host.url=http://localhost:9000
sonar.login=admin
sonar.password=*******
sonar.projectKey=test-app
sonar.projectName=test-app
sonar.projectVersion=1.0
sonar.sourceEncoding=UTF-8
sonar.sources=src
sonar.tests=src
sonar.exclusions=**/*.spec.ts, **/*test.ts,**/*.js,**/*constant.ts,**/*.scss,**/*interface.ts, *.html
sonar.test.inclusions=**/*.spec.ts
sonar.coverage.exclusions=**/*.js,src/main.ts,src/polyfills.ts,**/*environment*.ts,**/*module.ts,**/*.scss,**/*interface.ts, *.html
sonar.javascript.lcov.reportPaths=coverage/lcov.info
And also after run => Missing blame information for the following files:
WARN: * src/app/admin/menu/addon-list/addon-list.component.spec.ts
WARN: * src/app/admin/sidebar/sidebar.component.spec.ts
Any help appreciated. Thank you