Skip to content
代码片段 群组 项目
提交 21077662 编辑于 作者: Timotej Ecimovic's avatar Timotej Ecimovic
浏览文件

Add test results to jenkins.

上级 bd57a371
No related branches found
No related tags found
无相关合并请求
......@@ -16,6 +16,7 @@ docs/zap-schema.dot
test/jest/coverage
test/jest/__tests__/data/zap.sqlite
test/.zap
junit.xml
# Cordova related directories and files
/src-cordova/node_modules
......
......@@ -379,6 +379,7 @@ pipeline
slackSend (color: slackColor, channel: '#zap', message: slackMessage)
}
}
junit 'junit.xml'
cleanWs()
}
}
......
{
"name": "zap",
"version": "0.99.5",
"version": "0.99.6",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
......@@ -17032,6 +17032,47 @@
}
}
},
"jest-junit": {
"version": "12.0.0",
"resolved": "https://registry.npmjs.org/jest-junit/-/jest-junit-12.0.0.tgz",
"integrity": "sha512-+8K35LlboWiPuCnXSyiid7rFdxNlpCWWM20WEYe6IZH6psfUWKZmSpSRQ5tk0C0cBeDsvsnIzcef5mYhyJsbug==",
"dev": true,
"requires": {
"mkdirp": "^1.0.4",
"strip-ansi": "^5.2.0",
"uuid": "^3.3.3",
"xml": "^1.0.1"
},
"dependencies": {
"ansi-regex": {
"version": "4.1.0",
"resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz",
"integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==",
"dev": true
},
"mkdirp": {
"version": "1.0.4",
"resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz",
"integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==",
"dev": true
},
"strip-ansi": {
"version": "5.2.0",
"resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz",
"integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==",
"dev": true,
"requires": {
"ansi-regex": "^4.1.0"
}
},
"uuid": {
"version": "3.4.0",
"resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz",
"integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==",
"dev": true
}
}
},
"jest-leak-detector": {
"version": "26.6.2",
"resolved": "https://registry.npmjs.org/jest-leak-detector/-/jest-leak-detector-26.6.2.tgz",
......@@ -19,7 +19,7 @@
"lint": "eslint --ext .js,.vue src src-electron src-shared src-script test",
"lintfix": "eslint --fix --ext .js,.vue src src-electron src-shared src-script test",
"electron-build-dmg": "node src-script/build-dmg.js",
"test": "node src-script/zap-versionstamp.js && jest --updateSnapshot",
"test": "node src-script/zap-versionstamp.js && jest --reporters=jest-junit --updateSnapshot",
"test:unit": "jest --updateSnapshot",
"test:unit:verbose": "jest --updateSnapshot --verbose false",
"test:unit:coverage": "jest --coverage",
......@@ -121,6 +121,7 @@
"folder-hash": "^4.0.1",
"husky": "^6.0.0",
"jest": "^26.6.3",
"jest-junit": "^12.0.0",
"jest-sonar-reporter": "^2.0.0",
"jsdoc": "^3.6.6",
"jsdoc-to-markdown": "^7.0.1",
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册