Skip to content

Commit

Permalink
Merge pull request #59 from fga-eps-mds/fix/sonar-tests
Browse files Browse the repository at this point in the history
FIX: Alteração do path dos testes
  • Loading branch information
JPedroCh authored Jul 4, 2023
2 parents 74e2ed5 + 88585b9 commit bd9c139
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion scripts/consts.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const METRIC_LIST = [
];
const SONAR_URL = `https://sonarcloud.io/api/measures/component_tree?component=${SONAR_ID}&metricKeys=${METRIC_LIST.join(
','
)}&ps=500`;
)}`;

module.exports = {
SONAR_URL,
Expand Down
7 changes: 4 additions & 3 deletions sonar-project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,13 @@ sonar.organization=fga-eps-mds-1
#sonar.projectVersion=1.0

# Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows.
sonar.host.url=https://sonarcloud.io
sonar.language=ts

sonar.sources=.
sonar.sources=src
sonar.exclusions=**/*.spec.tsx,**/metrics/*.py
sonar.tests=./src
sonar.tests=src
sonar.test.inclusions=**/*.spec.tsx,**/*.spec.ts
sonar.javascript.lcov.reportPaths=./coverage/lcov.info
sonar.eslint.reportPaths=reports/eslint-report.json
sonar.testExecutionReportPaths=coverage.xml
sonar.sourceEncoding=UTF-8

0 comments on commit bd9c139

Please sign in to comment.