diff --git a/.projenrc.ts b/.projenrc.ts index c491d0e..6b8fa4e 100644 --- a/.projenrc.ts +++ b/.projenrc.ts @@ -112,6 +112,7 @@ new TextFile(project, 'sonar-project.properties', { 'sonar.javascript.lcov.reportPaths=./coverage/lcov.info', 'sonar.sources=./src', 'sonar.tests=./test', + 'sonar.test.inclusions=**/*.test.*', ], }); diff --git a/sonar-project.properties b/sonar-project.properties index 5ec6dd9..704077b 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -3,4 +3,5 @@ sonar.projectKey=alma-cdk_project sonar.organization=alma-cdk sonar.javascript.lcov.reportPaths=./coverage/lcov.info sonar.sources=./src -sonar.tests=./test \ No newline at end of file +sonar.tests=./test +sonar.test.inclusions=**/*.test.* \ No newline at end of file