diff options
author | lapentafd <francesco.lapenta@est.tech> | 2022-03-16 10:44:25 +0000 |
---|---|---|
committer | lapentafd <francesco.lapenta@est.tech> | 2022-03-16 17:04:31 +0000 |
commit | 553f1e74f0bce8e4506a50daa076525f3f23940a (patch) | |
tree | e8c63e00a9820bd87ceb8027998cd3d33d19a10a /gui-clamp | |
parent | e2228ba7805697f641515a12024be638bfabe7da (diff) |
Excluding Loop components from SONAR
Issue-ID: POLICY-3351
Signed-off-by: lapentafd <francesco.lapenta@est.tech>
Change-Id: Ia31841938be19f356e4efdb48c7be6186dcff540
Diffstat (limited to 'gui-clamp')
-rw-r--r-- | gui-clamp/pom.xml | 2 | ||||
-rw-r--r-- | gui-clamp/ui-react/package.json | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/gui-clamp/pom.xml b/gui-clamp/pom.xml index 9bb1b3a..3658893 100644 --- a/gui-clamp/pom.xml +++ b/gui-clamp/pom.xml @@ -35,7 +35,7 @@ <npm.publish.url>https://nexus3.onap.org/repository/npm.snapshot/</npm.publish.url> <sonar.nodejs.executable>${project.build.directory}/ui-react/node/node</sonar.nodejs.executable> <sonar.sources>${project.basedir}/ui-react/src</sonar.sources> - <sonar.exclusions>**/*.test.js</sonar.exclusions> + <sonar.exclusions>**/*.test.js, **/*/*Loop*.js, **/loop_viewer/**/*</sonar.exclusions> </properties> <build> <plugins> diff --git a/gui-clamp/ui-react/package.json b/gui-clamp/ui-react/package.json index 3a8ee27..c699c19 100644 --- a/gui-clamp/ui-react/package.json +++ b/gui-clamp/ui-react/package.json @@ -71,7 +71,8 @@ "collectCoverage": true, "coverageDirectory": "${project.build.directory}/code-coverage", "collectCoverageFrom": [ - "**/*.{js,jsx}" + "**/*.{js,jsx}", + "!./src/setupTests.js" ], "testResultsProcessor": "jest-sonar-reporter", "rootDir": "${project.build.directory}/${ui.react.src}", |