aboutsummaryrefslogtreecommitdiffstats
path: root/gui-pdp-monitoring/src/webapp/package.json
diff options
context:
space:
mode:
authorwaynedunican <wayne.dunican@est.tech>2020-08-19 16:56:32 +0100
committerwaynedunican <wayne.dunican@est.tech>2020-08-19 16:56:37 +0100
commit34d6d486318bf7922ff6c5e0897370f5b4e60395 (patch)
tree3406f978a0172a87b3e0db399c99cefab82eac24 /gui-pdp-monitoring/src/webapp/package.json
parent6afcd09f4962d2854e9f8cff16bd8e719d93a911 (diff)
JS Coverage Report directory
Moved the generated Jest Coverage report from policy-gui/gui-pdp-monitoring/src/webapp/coverage to policy-gui/target/code-coverage in order for SonarCloud to display the JS Code Coverage results. Issue-ID: POLICY-2610 Change-Id: I1d86203afa45ad1b0a51d729fec4326607585988 Signed-off-by: waynedunican <wayne.dunican@est.tech>
Diffstat (limited to 'gui-pdp-monitoring/src/webapp/package.json')
-rw-r--r--gui-pdp-monitoring/src/webapp/package.json3
1 files changed, 2 insertions, 1 deletions
diff --git a/gui-pdp-monitoring/src/webapp/package.json b/gui-pdp-monitoring/src/webapp/package.json
index b010413..793d6ba 100644
--- a/gui-pdp-monitoring/src/webapp/package.json
+++ b/gui-pdp-monitoring/src/webapp/package.json
@@ -26,13 +26,14 @@
},
"jest": {
"collectCoverage": true,
+ "coverageDirectory": "../../../target/code-coverage",
"transform": {
"^.+\\.[t|j]sx?$": "babel-jest"
},
"testResultsProcessor": "jest-sonar-reporter"
},
"jestSonar": {
- "reportPath": "reports",
+ "reportPath": "../../../target/reports",
"reportFile": "test-reporter.xml",
"indent": 4,
"sonar56x": true