summaryrefslogtreecommitdiffstats
path: root/gui-pdp-monitoring/src/webapp/package.json
diff options
context:
space:
mode:
Diffstat (limited to 'gui-pdp-monitoring/src/webapp/package.json')
-rw-r--r--gui-pdp-monitoring/src/webapp/package.json20
1 files changed, 17 insertions, 3 deletions
diff --git a/gui-pdp-monitoring/src/webapp/package.json b/gui-pdp-monitoring/src/webapp/package.json
index de4215c..b010413 100644
--- a/gui-pdp-monitoring/src/webapp/package.json
+++ b/gui-pdp-monitoring/src/webapp/package.json
@@ -4,7 +4,7 @@
"description": "GUI for monitoring Pdps Statistics",
"main": "index.js",
"scripts": {
- "test": "jest --coverage",
+ "test": "jest",
"build": "webpack",
"start": "webpack-dev-server --open"
},
@@ -12,9 +12,10 @@
"devDependencies": {
"@babel/cli": "^7.8.4",
"@babel/core": "^7.8.7",
- "@babel/preset-env": "^7.8.7",
+ "@babel/preset-env": "^7.11.0",
"babel-jest": "^25.1.0",
- "jest": "^25.1.0",
+ "jest": "^26.1.0",
+ "jest-sonar-reporter": "^2.0.0",
"webpack": "^4.42.0",
"webpack-cli": "^3.3.11",
"webpack-dev-server": "^3.10.3"
@@ -22,5 +23,18 @@
"dependencies": {
"d3": "^3.5.17",
"jquery": "^3.4.1"
+ },
+ "jest": {
+ "collectCoverage": true,
+ "transform": {
+ "^.+\\.[t|j]sx?$": "babel-jest"
+ },
+ "testResultsProcessor": "jest-sonar-reporter"
+ },
+ "jestSonar": {
+ "reportPath": "reports",
+ "reportFile": "test-reporter.xml",
+ "indent": 4,
+ "sonar56x": true
}
}