diff --git a/package.json b/package.json index 06dc9cd846..5f3a645d6e 100644 --- a/package.json +++ b/package.json @@ -142,7 +142,7 @@ "grunt-sass": "^3.1.0", "identity-obj-proxy": "^3.0.0", "jest": "^27.2.4", - "jest-junit": "^12.3.0", + "jest-junit": "^13.0.0", "js-yaml": "^4.1.0", "lerna": "^4.0.0", "license-check-and-add": "^4.0.2", diff --git a/packages/report-e2e-tests/package.json b/packages/report-e2e-tests/package.json index 891c16ade3..3335f9f02f 100644 --- a/packages/report-e2e-tests/package.json +++ b/packages/report-e2e-tests/package.json @@ -22,7 +22,7 @@ "@types/jest": "^27.0.2", "jest": "^27.2.4", "jest-file-snapshot": "^0.5.0", - "jest-junit": "^12.3.0", + "jest-junit": "^13.0.0", "prettier": "^2.4.1", "typescript": "^4.4.3" } diff --git a/src/tests/electron/jest.config.js b/src/tests/electron/jest.config.js index 8d2bcbc553..4d4ca2ba2d 100644 --- a/src/tests/electron/jest.config.js +++ b/src/tests/electron/jest.config.js @@ -22,8 +22,8 @@ module.exports = { [ 'jest-junit', { - outputDirectory: '.', - outputName: '/test-results/electron/junit-electron.xml', + outputDirectory: '/test-results/electron/', + outputName: 'junit-electron.xml', }, ], ], diff --git a/src/tests/end-to-end/jest.config.js b/src/tests/end-to-end/jest.config.js index c35547eab4..d378d26f0a 100644 --- a/src/tests/end-to-end/jest.config.js +++ b/src/tests/end-to-end/jest.config.js @@ -23,7 +23,7 @@ module.exports = { 'default', [ 'jest-junit', - { outputDirectory: '.', outputName: '/test-results/e2e/junit-e2e.xml' }, + { outputDirectory: '/test-results/e2e/', outputName: 'junit-e2e.xml' }, ], ], rootDir: rootDir, diff --git a/src/tests/unit/jest.config.js b/src/tests/unit/jest.config.js index 5a2a0b83f3..7ad31aea6f 100644 --- a/src/tests/unit/jest.config.js +++ b/src/tests/unit/jest.config.js @@ -15,7 +15,7 @@ module.exports = { 'default', [ 'jest-junit', - { outputDirectory: '.', outputName: '/test-results/unit/junit.xml' }, + { outputDirectory: '/test-results/unit/', outputName: 'junit.xml' }, ], ], rootDir: rootDir, diff --git a/yarn.lock b/yarn.lock index 489beab934..afbe85e50f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7549,13 +7549,13 @@ jest-jasmine2@^27.2.4: pretty-format "^27.2.4" throat "^6.0.1" -jest-junit@^12.3.0: - version "12.3.0" - resolved "https://registry.yarnpkg.com/jest-junit/-/jest-junit-12.3.0.tgz#ee41a74e439eecdc8965f163f83035cce5998d6d" - integrity sha512-+NmE5ogsEjFppEl90GChrk7xgz8xzvF0f+ZT5AnhW6suJC93gvQtmQjfyjDnE0Z2nXJqEkxF0WXlvjG/J+wn/g== +jest-junit@^13.0.0: + version "13.0.0" + resolved "https://registry.yarnpkg.com/jest-junit/-/jest-junit-13.0.0.tgz#479be347457aad98ae8a5983a23d7c3ec526c9a3" + integrity sha512-JSHR+Dhb32FGJaiKkqsB7AR3OqWKtldLd6ZH2+FJ8D4tsweb8Id8zEVReU4+OlrRO1ZluqJLQEETm+Q6/KilBg== dependencies: mkdirp "^1.0.4" - strip-ansi "^5.2.0" + strip-ansi "^6.0.1" uuid "^8.3.2" xml "^1.0.1" @@ -11550,19 +11550,19 @@ strip-ansi@^4.0.0: dependencies: ansi-regex "^3.0.0" -strip-ansi@^5.1.0, strip-ansi@^5.2.0: +strip-ansi@^5.1.0: version "5.2.0" resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-5.2.0.tgz#8c9a536feb6afc962bdfa5b104a5091c1ad9c0ae" integrity sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA== dependencies: ansi-regex "^4.1.0" -strip-ansi@^6.0.0: - version "6.0.0" - resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.0.tgz#0b1571dd7669ccd4f3e06e14ef1eed26225ae532" - integrity sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w== +strip-ansi@^6.0.0, strip-ansi@^6.0.1: + version "6.0.1" + resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" + integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== dependencies: - ansi-regex "^5.0.0" + ansi-regex "^5.0.1" strip-bom@^2.0.0: version "2.0.0"