From 502361313780ad24c427a073c3ef5eaf36ab7c4c Mon Sep 17 00:00:00 2001 From: Luiz Bezerra Date: Fri, 11 Oct 2024 16:04:09 +0100 Subject: [PATCH 1/3] removed integration-test folders from scanning Signed-off-by: Luiz Bezerra --- sonar-project.properties | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sonar-project.properties b/sonar-project.properties index de32400e67..9f01ac5062 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -8,7 +8,7 @@ sonar.eslint.reportPaths=eslint-report.json # Path to sources sonar.sources=benchmark,ci,desktop,packages,web -sonar.exclusions=**/*.test.ts,**/*.test.tsx +sonar.exclusions=**/*.test.ts,**/*.test.tsx,**/integration-test/** sonar.inclusions=\ **/*.ts,\ **/*.tsx,\ @@ -18,6 +18,7 @@ sonar.inclusions=\ # Path to tests sonar.tests=benchmark,ci,desktop,packages,web sonar.test.inclusions=**/*.test.ts,**/*.test.tsx +sonar.test.exclusions=web/integration-test/**,**/integration-test/** # Code coverage sonar.javascript.lcov.reportPaths=coverage/lcov.info From 826128443617bfdc04f6864ea3b81de0540504c8 Mon Sep 17 00:00:00 2001 From: Luiz Bezerra Date: Fri, 11 Oct 2024 16:05:36 +0100 Subject: [PATCH 2/3] fixed test exclusions Signed-off-by: Luiz Bezerra --- sonar-project.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sonar-project.properties b/sonar-project.properties index 9f01ac5062..49086be761 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -18,7 +18,7 @@ sonar.inclusions=\ # Path to tests sonar.tests=benchmark,ci,desktop,packages,web sonar.test.inclusions=**/*.test.ts,**/*.test.tsx -sonar.test.exclusions=web/integration-test/**,**/integration-test/** +sonar.test.exclusions=**/integration-test/** # Code coverage sonar.javascript.lcov.reportPaths=coverage/lcov.info From 30f68be9a11672ff5d408512e53078407a8c0a51 Mon Sep 17 00:00:00 2001 From: Luiz Bezerra Date: Fri, 18 Oct 2024 11:04:25 +0100 Subject: [PATCH 3/3] removed unnecessary jest configurations Signed-off-by: Luiz Bezerra --- jest.config.json | 7 ------- 1 file changed, 7 deletions(-) diff --git a/jest.config.json b/jest.config.json index 2195de7035..0e367f7f8f 100644 --- a/jest.config.json +++ b/jest.config.json @@ -5,12 +5,5 @@ "/desktop/jest.config.json", "/packages/*/jest.config.json" ], - "collectCoverage": true, - "coverageReporters": [ - "text", - "lcov", - "json", - "xml" - ], "coverageDirectory": "coverage" }