summaryrefslogtreecommitdiffstats
path: root/gui-editors
diff options
context:
space:
mode:
authordanielhanrahan <daniel.hanrahan@est.tech>2022-02-17 11:16:19 +0000
committerdanielhanrahan <daniel.hanrahan@est.tech>2022-02-17 11:16:19 +0000
commita1bdde3151ab062df3b994c12c119e1dabda87fe (patch)
tree76e97c5d69a9032c91d38eab37d79ee76df7f2db /gui-editors
parent770049ea162573d5afa1aaefed6131fe5e0a77f7 (diff)
Exclude tests from sonar coverage in apex-editor
Exclude all *.test.js files from sonar coverage. Issue-ID: POLICY-3896 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: Ic0ad8e58c1b079a6beeb10b4b4c02b604d280204
Diffstat (limited to 'gui-editors')
-rw-r--r--gui-editors/gui-editor-apex/pom.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui-editors/gui-editor-apex/pom.xml b/gui-editors/gui-editor-apex/pom.xml
index e42777e..760cd8d 100644
--- a/gui-editors/gui-editor-apex/pom.xml
+++ b/gui-editors/gui-editor-apex/pom.xml
@@ -40,7 +40,7 @@
<webapp.dir>${project.basedir}/src/main/webapp</webapp.dir>
<sonar.nodejs.executable>${webapp.dir}/node/node</sonar.nodejs.executable>
<sonar.sources>${project.basedir}/src/main/java,${webapp.dir}/js</sonar.sources>
- <sonar.exclusions>${webapp.dir}/js/__test__/**</sonar.exclusions>
+ <sonar.exclusions>**/*.test.js</sonar.exclusions>
</properties>
<dependencies>