From 88585b98c1cb68d3f891ef5c08fa13a9851a48ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Pedro=20Chaves?= Date: Tue, 4 Jul 2023 10:04:26 -0300 Subject: [PATCH] =?UTF-8?q?fix:=20altera=C3=A7=C3=A3o=20de=20path=20dos=20?= =?UTF-8?q?testes=20no=20sonar=20properties?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/consts.js | 2 +- sonar-project.properties | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/scripts/consts.js b/scripts/consts.js index 2ab1e3e2..877c550c 100644 --- a/scripts/consts.js +++ b/scripts/consts.js @@ -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, diff --git a/sonar-project.properties b/sonar-project.properties index fce2b2be..4a691e54 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -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 \ No newline at end of file