Skip to content

Commit 098671e

Browse files
committed
fix: ignore test setup from sonar coverage
1 parent 5d9348b commit 098671e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sonar-project.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ sonar.tests=e2e,packages,tools
2323
sonar.test.inclusions=**/*.spec.ts
2424

2525
# configure the files that should be ignored by code coverage calculations
26-
sonar.coverage.exclusions=tools/scripts/**,packages/internal/**,**/jest.config.ts,**/test.ts,packages/**/main.ts,packages/**/polyfills.ts,**/babel.config.js,**/docusaurus.config.js,packages/docs/**/sidebars.js,e2e/**/*-e2e/**,packages/docs/*-app/**
26+
sonar.coverage.exclusions=tools/scripts/**,packages/internal/**,**/jest.config.ts,**/test-setup.ts,**/test.ts,packages/**/main.ts,packages/**/polyfills.ts,**/babel.config.js,**/docusaurus.config.js,packages/docs/**/sidebars.js,e2e/**/*-e2e/**,packages/docs/*-app/**
2727

2828
# configure the files that should be ignored by duplication detection
2929
sonar.cpd.exclusions=**/jest.config.ts,**/test.ts,packages/**/main.ts

0 commit comments

Comments
 (0)