Skip to content

Commit 67153ca

Browse files
[PRME-295] Add LCOV report to UI test coverage (#778)
1 parent 14151b7 commit 67153ca

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/vitest.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export default defineConfig({
99
globals: true,
1010
environment: 'jsdom', // Use jsdom for browser-like tests
1111
coverage: {
12-
reporter: ['text', 'json', 'html'], // Optional: Add coverage reports
12+
reporter: ['html', 'lcov'], // Optional: Add coverage reports
1313
},
1414
setupFiles: ['./src/setupTests.ts'],
1515
clearMocks: true,

sonar-project.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ sonar.python.coverage.reportPaths=lambdas/coverage.xml
1414
sonar.sources=lambdas/,app/src/
1515
sonar.tests=lambdas/tests/,app/src/
1616

17-
sonar.exclusions=**/*.test.tsx,app/src/helpers/test/,**/TestPanel.tsx,lambdas/scripts/,**/*.test.ts,lambdas/tests/*,**/conftest.py
17+
sonar.exclusions=**/*.test.tsx,app/src/helpers/test/,**/TestPanel.tsx,lambdas/scripts/,**/*.test.ts,lambdas/tests/*,**/conftest.py,app/react-build-env-checker.js,app/public/*,app/src/index.tsx
1818
sonar.test.inclusions=**/*.test.tsx,app/src/helpers/test/,**/*.test.ts
1919

2020
# Encoding of the source code. Default is default system encoding

0 commit comments

Comments
 (0)