diff options
author | 2022-03-21 16:02:31 +0000 | |
---|---|---|
committer | 2022-03-21 16:02:31 +0000 | |
commit | f14f31c6ae8420fa854edd93aa37c5182c8815e2 (patch) | |
tree | 34433acf1638859b12acf6a32647be821df25040 | |
parent | 6faedaead5ed06dda04b4d07ec3b3e86b05077b4 (diff) | |
parent | 553f1e74f0bce8e4506a50daa076525f3f23940a (diff) |
Merge "Excluding Loop components from SONAR"
-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 7b3c416..e5301d8 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}", |