From f1689df8a1985e5fbf82169dfc982e5dd7da1866 Mon Sep 17 00:00:00 2001 From: Timon Masberg Date: Sun, 11 Feb 2024 22:59:14 +0100 Subject: [PATCH] chore: add worker to coverage exclusion, as their tests won't be discovered by SonarQube --- sonar-project.properties | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sonar-project.properties b/sonar-project.properties index 28ff942b..8cda1b18 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -1,9 +1,8 @@ sonar.projectKey=kordis-leitstelle sonar.organization=kordis-leitstelle - sonar.sources=./apps,./libs sonar.exclusions=**/*e2e/**/support/** sonar.javascript.coveragePlugin=lcov sonar.javascript.lcov.reportPaths=./coverage/lcov.info sonar.test.inclusions=**/*.spec.ts -sonar.coverage.exclusions=**/*.js,**/src/*main*.ts,**/*polyfills*.ts,**/*environment*.ts,**/*module.ts,**/*-e2e/**,**/*.test-helper.ts,**/*.mapper-profile.ts +sonar.coverage.exclusions=**/*.js,**/src/*main*.ts,**/*polyfills*.ts,**/*environment*.ts,**/*module.ts,**/*-e2e/**,**/*.test-helper.ts,**/*.mapper-profile.ts,**/*.worker.ts