diff options
-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}", |