Skip to content

Commit

Permalink
chore(sonarqube): exclude all test files from coverage analysis
Browse files Browse the repository at this point in the history
- rewrite syntax to detect test files
  • Loading branch information
SimonGolms committed Nov 15, 2022
1 parent a65fdfe commit ba4f204
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sonar-project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ sonar.sources=src
sonar.sourceEncoding=UTF-8

# Exclude test files from coverage analysis
sonar.coverage.exclusions=**/*test.ts,**/*test.tsx
sonar.coverage.exclusions=**/*.test.*


# Exclude non type script files from coverage analysis
sonar.exclusions=**/*.html,**/*.scss,**/*.json,**/*.ico,**/*.svg
Expand Down

0 comments on commit ba4f204

Please sign in to comment.