Modify properties for Sonar
Issue-ID: NONRTRIC-651
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
Change-Id: Ifb215b527e4c7d1f42ea32d2e0840a08c8985aa1
diff --git a/sonar-project.properties b/sonar-project.properties
index 23e7545..1c36231 100644
--- a/sonar-project.properties
+++ b/sonar-project.properties
@@ -1,5 +1,6 @@
sonar.build.sourceEncoding=UTF-8
-sonar.exclusions=**/node_modules/**,**/nonrtric-gateway/**/*
+sonar.exclusions=**/node_modules/**,**/nonrtric-gateway/**/*,**/*.spec.(js|jsx|ts|tsx)
sonar.sources=collector
-#sonar.sources=webapp-frontend/src
+sonar.tests=src
+sonar.test.inclusions=**/*.spec.(js|jsx|ts|tsx)
sonar.typescript.lcov.reportPaths=**/coverage/lcov.info