aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/package.json
diff options
context:
space:
mode:
authorMalena Ebert <63863184+malena-ebert-sonarsource@users.noreply.github.com>2021-01-20 14:10:36 +0100
committersonartech <sonartech@sonarsource.com>2021-03-27 20:04:06 +0000
commit51d02b308638c31d6cd4c46125ce9155fc033ecf (patch)
treecbbe7ae91db91921bfa5a77f80cc7738ddc58693 /server/sonar-web/package.json
parent49612014375251ad6c77c9c0c8ec2e296532a16f (diff)
downloadsonarqube-51d02b308638c31d6cd4c46125ce9155fc033ecf.tar.gz
sonarqube-51d02b308638c31d6cd4c46125ce9155fc033ecf.zip
BUILD-857 Add junit report format for jest tests.
Diffstat (limited to 'server/sonar-web/package.json')
-rw-r--r--server/sonar-web/package.json3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/sonar-web/package.json b/server/sonar-web/package.json
index 7a9939c4807..59ce83e4657 100644
--- a/server/sonar-web/package.json
+++ b/server/sonar-web/package.json
@@ -100,6 +100,7 @@
"glob-promise": "3.4.0",
"html-webpack-plugin": "3.2.0",
"jest": "25.1.0",
+ "jest-junit": "12.0.0",
"lint-staged": "7.3.0",
"lodash-webpack-plugin": "0.11.5",
"mini-css-extract-plugin": "0.9.0",
@@ -132,7 +133,7 @@
"lint-report": "eslint --ext js,ts,tsx -f json -o eslint-report.json src/main/js",
"ts-check": "tsc --noEmit",
"validate": "yarn lint && yarn ts-check && yarn format-check && yarn test",
- "validate-ci": "yarn lint-report && yarn test --coverage",
+ "validate-ci": "yarn lint-report && yarn test --coverage --ci",
"check-ci": "yarn ts-check && yarn format-check",
"precommit": "yarn ts-check && lint-staged"
},