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" } diff --git a/sonar-project.properties b/sonar-project.properties index de32400e67..49086be761 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=**/integration-test/** # Code coverage sonar.javascript.lcov.reportPaths=coverage/lcov.info