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
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>