mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 01:47:00 +01:00
Add test insights on circle ci for test-unit job (#15839)
* Test results for jest * Add jest-junit package for reporting * Order alphabetically
This commit is contained in:
parent
789c06a5b7
commit
dd660f83ae
@ -837,6 +837,8 @@ jobs:
|
||||
- .nyc_output
|
||||
- coverage
|
||||
- jest-coverage
|
||||
- store_test_results:
|
||||
path: test/test-results/junit.xml
|
||||
test-unit-global:
|
||||
executor: node-browsers
|
||||
steps:
|
||||
|
@ -28,6 +28,16 @@ module.exports = {
|
||||
statements: 100,
|
||||
},
|
||||
},
|
||||
reporters: [
|
||||
'default',
|
||||
[
|
||||
'jest-junit',
|
||||
{
|
||||
outputDirectory: 'test/test-results/',
|
||||
outputName: 'junit.xml',
|
||||
},
|
||||
],
|
||||
],
|
||||
// TODO: enable resetMocks
|
||||
// resetMocks: true,
|
||||
restoreMocks: true,
|
||||
|
@ -187,6 +187,7 @@
|
||||
"globalthis": "^1.0.1",
|
||||
"human-standard-token-abi": "^2.0.0",
|
||||
"immer": "^9.0.6",
|
||||
"jest-junit": "^14.0.1",
|
||||
"json-rpc-engine": "^6.1.0",
|
||||
"json-rpc-middleware-stream": "^2.1.1",
|
||||
"jsonschema": "^1.2.4",
|
||||
|
15
yarn.lock
15
yarn.lock
@ -16887,6 +16887,16 @@ jest-it-up@^2.0.2:
|
||||
ansi-colors "^4.1.0"
|
||||
commander "^9.0.0"
|
||||
|
||||
jest-junit@^14.0.1:
|
||||
version "14.0.1"
|
||||
resolved "https://registry.yarnpkg.com/jest-junit/-/jest-junit-14.0.1.tgz#5b357d6f5d333459585d628a24cd48b5bbc92ba2"
|
||||
integrity sha512-h7/wwzPbllgpQhhVcRzRC76/cc89GlazThoV1fDxcALkf26IIlRsu/AcTG64f4nR2WPE3Cbd+i/sVf+NCUHrWQ==
|
||||
dependencies:
|
||||
mkdirp "^1.0.4"
|
||||
strip-ansi "^6.0.1"
|
||||
uuid "^8.3.2"
|
||||
xml "^1.0.1"
|
||||
|
||||
jest-leak-detector@^29.0.0-alpha.4:
|
||||
version "29.0.0-alpha.4"
|
||||
resolved "https://registry.yarnpkg.com/jest-leak-detector/-/jest-leak-detector-29.0.0-alpha.4.tgz#a07483a16736a126e14227505c5d62abe9c16cc0"
|
||||
@ -28774,6 +28784,11 @@ xml-name-validator@^4.0.0:
|
||||
resolved "https://registry.yarnpkg.com/xml-name-validator/-/xml-name-validator-4.0.0.tgz#79a006e2e63149a8600f15430f0a4725d1524835"
|
||||
integrity sha512-ICP2e+jsHvAj2E2lIHxa5tjXRlKDJo4IdvPvCXbXQGdzSfmSpNVyIKMvoZHjDY9DP0zV17iI85o90vRFXNccRw==
|
||||
|
||||
xml@^1.0.1:
|
||||
version "1.0.1"
|
||||
resolved "https://registry.yarnpkg.com/xml/-/xml-1.0.1.tgz#78ba72020029c5bc87b8a81a3cfcd74b4a2fc1e5"
|
||||
integrity sha512-huCv9IH9Tcf95zuYCsQraZtWnJvBtLVE0QHMOs8bWyZAFZNDcYjsPq1nEx8jKA9y+Beo9v+7OBPRisQTjinQMw==
|
||||
|
||||
xmlchars@^2.2.0:
|
||||
version "2.2.0"
|
||||
resolved "https://registry.yarnpkg.com/xmlchars/-/xmlchars-2.2.0.tgz#060fe1bcb7f9c76fe2a17db86a9bc3ab894210cb"
|
||||
|
Loading…
Reference in New Issue
Block a user