Skip to content

Commit

Permalink
feat: added **/__mocks__/** to sonar.coverage.exclusions (#13787)
Browse files Browse the repository at this point in the history
## **Description**
This PR adds `**/__mocks__/**` to the sonarcloud coverage exclusions
list.
  • Loading branch information
Matt561 authored Mar 3, 2025
1 parent 3b0d702 commit 4466b36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sonar-project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ sonar.exclusions=**.stories.**, e2e/**, wdio/**
sonar.test.inclusions=**.test.**

# Excluded project files from coverage.
sonar.coverage.exclusions=**util/test**
sonar.coverage.exclusions=**util/test**, **/__mocks__/**

# Test coverage path in GitHub action
sonar.javascript.lcov.reportPaths=/coverage/lcov.info
Expand Down

0 comments on commit 4466b36

Please sign in to comment.