Remove mocha-json-output-reporter (#22735)

The mocha-json-output-reporter is failing which I was able to determine
via trial and error by adjusting the reporters, it also appears to be
essentially unsupported. It seems we only use it for inline logs in our
ci build output, which shouldn't be necessary as we have the test
results separately in the test tab. I think the best solution is to just
remove this.
This commit is contained in:
Tony Murphy 2024-10-07 11:46:47 -07:00 коммит произвёл GitHub
Родитель 83eaac5488
Коммит e180043832
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
93 изменённых файлов: 17 добавлений и 467 удалений

Просмотреть файл

@ -1,9 +1,6 @@
{
"reporterEnabled": "xunit,mocha-json-output-reporter,spec",
"reporterEnabled": "spec,xunit",
"xunitReporterOptions": {
"output": "nyc/junit-report.xml"
},
"mochaJsonOutputReporterReporterOptions": {
"output": "nyc/junit-report.json"
}
}

Просмотреть файл

@ -176,7 +176,7 @@
"eslint-config-prettier": "~9.1.0",
"jssm-viz-cli": "5.97.1",
"mocha": "^10.2.0",
"mocha-json-output-reporter": "^2.1.0",
"mocha-multi-reporters": "^1.5.1",
"moment": "^2.29.4",
"rimraf": "^4.4.1",

Просмотреть файл

@ -1,9 +1,6 @@
{
"reporterEnabled": "xunit,mocha-json-output-reporter,spec",
"reporterEnabled": "spec,xunit",
"xunitReporterOptions": {
"output": "nyc/junit-report.xml"
},
"mochaJsonOutputReporterReporterOptions": {
"output": "nyc/junit-report.json"
}
}

Просмотреть файл

@ -1,9 +1,6 @@
{
"reporterEnabled": "xunit,mocha-json-output-reporter,spec",
"reporterEnabled": "spec,xunit",
"xunitReporterOptions": {
"output": "nyc/junit-report.xml"
},
"mochaJsonOutputReporterReporterOptions": {
"output": "nyc/junit-report.json"
}
}

Просмотреть файл

@ -104,7 +104,7 @@
"eslint-config-oclif-typescript": "^3.1.8",
"eslint-config-prettier": "~9.1.0",
"mocha": "^10.2.0",
"mocha-json-output-reporter": "^2.1.0",
"mocha-multi-reporters": "^1.5.1",
"moment": "^2.29.4",
"oclif": "^4.14.9",

Просмотреть файл

@ -379,9 +379,6 @@ importers:
mocha:
specifier: ^10.2.0
version: 10.2.0
mocha-json-output-reporter:
specifier: ^2.1.0
version: 2.1.0(mocha@10.2.0)(moment@2.29.4)
mocha-multi-reporters:
specifier: ^1.5.1
version: 1.5.1(mocha@10.2.0)
@ -673,9 +670,6 @@ importers:
mocha:
specifier: ^10.2.0
version: 10.2.0
mocha-json-output-reporter:
specifier: ^2.1.0
version: 2.1.0(mocha@10.2.0)(moment@2.29.4)
mocha-multi-reporters:
specifier: ^1.5.1
version: 1.5.1(mocha@10.2.0)
@ -8390,16 +8384,6 @@ packages:
engines: {node: '>=10'}
hasBin: true
/mocha-json-output-reporter@2.1.0(mocha@10.2.0)(moment@2.29.4):
resolution: {integrity: sha512-FF2BItlMo8nK9+SgN/WAD01ue7G+qI1Po0U3JCZXQiiyTJ5OV3KcT1mSoZKirjYP73JFZznaaPC6Mp052PF3Vw==}
peerDependencies:
mocha: ^10.0.0
moment: ^2.21.0
dependencies:
mocha: 10.2.0
moment: 2.29.4
dev: true
/mocha-multi-reporters@1.5.1(mocha@10.2.0):
resolution: {integrity: sha512-Yb4QJOaGLIcmB0VY7Wif5AjvLMUFAdV57D2TWEva1Y0kU/3LjKpeRVmlMIfuO1SVbauve459kgtIizADqxMWPg==}
engines: {node: '>=6.0.0'}

Просмотреть файл

@ -1,9 +1,6 @@
{
"reporterEnabled": "xunit,mocha-json-output-reporter,spec",
"reporterEnabled": "spec,xunit",
"xunitReporterOptions": {
"output": "nyc/junit-report.xml"
},
"mochaJsonOutputReporterReporterOptions": {
"output": "nyc/junit-report.json"
}
}

Просмотреть файл

@ -52,7 +52,7 @@
"@fluidframework/build-common": "^2.0.3",
"concurrently": "^8.2.1",
"eslint": "~8.55.0",
"mocha-json-output-reporter": "^2.1.0",
"mocha-multi-reporters": "^1.5.1",
"prettier": "~3.0.3",
"sort-json": "^2.0.1",

Просмотреть файл

@ -75,9 +75,6 @@ importers:
eslint:
specifier: ~8.55.0
version: 8.55.0
mocha-json-output-reporter:
specifier: ^2.1.0
version: 2.1.0(mocha@10.4.0)(moment@2.30.1)
mocha-multi-reporters:
specifier: ^1.5.1
version: 1.5.1(mocha@10.4.0)
@ -1907,7 +1904,6 @@ packages:
/glob@8.1.0:
resolution: {integrity: sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==}
engines: {node: '>=12'}
deprecated: Glob versions prior to v9 are no longer supported
dependencies:
fs.realpath: 1.0.0
inflight: 1.0.6
@ -2746,16 +2742,6 @@ packages:
hasBin: true
dev: false
/mocha-json-output-reporter@2.1.0(mocha@10.4.0)(moment@2.30.1):
resolution: {integrity: sha512-FF2BItlMo8nK9+SgN/WAD01ue7G+qI1Po0U3JCZXQiiyTJ5OV3KcT1mSoZKirjYP73JFZznaaPC6Mp052PF3Vw==}
peerDependencies:
mocha: ^10.0.0
moment: ^2.21.0
dependencies:
mocha: 10.4.0
moment: 2.30.1
dev: true
/mocha-multi-reporters@1.5.1(mocha@10.4.0):
resolution: {integrity: sha512-Yb4QJOaGLIcmB0VY7Wif5AjvLMUFAdV57D2TWEva1Y0kU/3LjKpeRVmlMIfuO1SVbauve459kgtIizADqxMWPg==}
engines: {node: '>=6.0.0'}
@ -2796,10 +2782,6 @@ packages:
yargs-unparser: 2.0.0
dev: true
/moment@2.30.1:
resolution: {integrity: sha512-uEmtNhbDOrWPFS+hdjFCBfy9f2YoyzRpwcl+DqpC6taX21FzsTLQVbMV/W7PzNSX6x/bhC1zA3c2UQ5NzH6how==}
dev: true
/ms@2.1.2:
resolution: {integrity: sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==}

Просмотреть файл

@ -1,9 +1,6 @@
{
"reporterEnabled": "xunit,mocha-json-output-reporter,spec",
"reporterEnabled": "spec,xunit",
"xunitReporterOptions": {
"output": "nyc/junit-report.xml"
},
"mochaJsonOutputReporterReporterOptions": {
"output": "nyc/junit-report.json"
}
}

Просмотреть файл

@ -31,7 +31,7 @@
"@fluidframework/build-common": "^2.0.3",
"eslint": "^8.57.0",
"mocha": "^10.4.0",
"mocha-json-output-reporter": "^2.1.0",
"mocha-multi-reporters": "^1.5.1",
"prettier": "~3.2.5",
"rimraf": "^5.0.7",

Просмотреть файл

@ -30,9 +30,6 @@ importers:
mocha:
specifier: ^10.4.0
version: 10.4.0
mocha-json-output-reporter:
specifier: ^2.1.0
version: 2.1.0(mocha@10.4.0)(moment@2.30.1)
mocha-multi-reporters:
specifier: ^1.5.1
version: 1.5.1(mocha@10.4.0)
@ -1956,16 +1953,6 @@ packages:
hasBin: true
dev: false
/mocha-json-output-reporter@2.1.0(mocha@10.4.0)(moment@2.30.1):
resolution: {integrity: sha512-FF2BItlMo8nK9+SgN/WAD01ue7G+qI1Po0U3JCZXQiiyTJ5OV3KcT1mSoZKirjYP73JFZznaaPC6Mp052PF3Vw==}
peerDependencies:
mocha: ^10.0.0
moment: ^2.21.0
dependencies:
mocha: 10.4.0
moment: 2.30.1
dev: true
/mocha-multi-reporters@1.5.1(mocha@10.4.0):
resolution: {integrity: sha512-Yb4QJOaGLIcmB0VY7Wif5AjvLMUFAdV57D2TWEva1Y0kU/3LjKpeRVmlMIfuO1SVbauve459kgtIizADqxMWPg==}
engines: {node: '>=6.0.0'}
@ -2006,10 +1993,6 @@ packages:
yargs-unparser: 2.0.0
dev: true
/moment@2.30.1:
resolution: {integrity: sha512-uEmtNhbDOrWPFS+hdjFCBfy9f2YoyzRpwcl+DqpC6taX21FzsTLQVbMV/W7PzNSX6x/bhC1zA3c2UQ5NzH6how==}
dev: true
/ms@2.1.2:
resolution: {integrity: sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==}

Просмотреть файл

@ -73,7 +73,6 @@
"cross-env": "^7.0.3",
"eslint": "~8.55.0",
"mocha": "^10.2.0",
"mocha-json-output-reporter": "^2.0.1",
"mocha-multi-reporters": "^1.5.1",
"moment": "^2.21.0",
"prettier": "~3.0.3",

Просмотреть файл

@ -109,7 +109,6 @@
"cross-env": "^7.0.3",
"eslint": "~8.55.0",
"mocha": "^10.2.0",
"mocha-json-output-reporter": "^2.0.1",
"mocha-multi-reporters": "^1.5.1",
"moment": "^2.21.0",
"prettier": "~3.0.3",

Просмотреть файл

@ -113,7 +113,6 @@
"jsdom": "^16.7.0",
"jsdom-global": "^3.0.2",
"mocha": "^10.2.0",
"mocha-json-output-reporter": "^2.0.1",
"mocha-multi-reporters": "^1.5.1",
"moment": "^2.21.0",
"prettier": "~3.0.3",

Просмотреть файл

@ -129,7 +129,6 @@
"eslint": "~8.55.0",
"fs-extra": "^9.1.0",
"mocha": "^10.2.0",
"mocha-json-output-reporter": "^2.0.1",
"mocha-multi-reporters": "^1.5.1",
"moment": "^2.21.0",
"prettier": "~3.0.3",

Просмотреть файл

@ -105,7 +105,6 @@
"cross-env": "^7.0.3",
"eslint": "~8.55.0",
"mocha": "^10.2.0",
"mocha-json-output-reporter": "^2.0.1",
"mocha-multi-reporters": "^1.5.1",
"moment": "^2.21.0",
"nock": "^13.3.3",

Просмотреть файл

@ -86,7 +86,6 @@
"cross-env": "^7.0.3",
"eslint": "~8.55.0",
"mocha": "^10.2.0",
"mocha-json-output-reporter": "^2.0.1",
"mocha-multi-reporters": "^1.5.1",
"moment": "^2.21.0",
"nock": "^13.3.3",

Просмотреть файл

@ -103,7 +103,6 @@
"env-cmd": "^10.1.0",
"eslint": "~8.55.0",
"mocha": "^10.2.0",
"mocha-json-output-reporter": "^2.0.1",
"mocha-multi-reporters": "^1.5.1",
"moment": "^2.21.0",
"prettier": "~3.0.3",

Просмотреть файл

@ -85,7 +85,6 @@
"cross-env": "^7.0.3",
"eslint": "~8.55.0",
"mocha": "^10.2.0",
"mocha-json-output-reporter": "^2.0.1",
"mocha-multi-reporters": "^1.5.1",
"moment": "^2.21.0",
"nock": "^13.3.3",

Просмотреть файл

@ -120,7 +120,6 @@
"cross-env": "^7.0.3",
"eslint": "~8.55.0",
"mocha": "^10.2.0",
"mocha-json-output-reporter": "^2.0.1",
"mocha-multi-reporters": "^1.5.1",
"moment": "^2.21.0",
"prettier": "~3.0.3",

Просмотреть файл

@ -110,7 +110,6 @@
"cross-env": "^7.0.3",
"eslint": "~8.55.0",
"mocha": "^10.2.0",
"mocha-json-output-reporter": "^2.0.1",
"mocha-multi-reporters": "^1.5.1",
"moment": "^2.21.0",
"prettier": "~3.0.3",

Просмотреть файл

@ -110,7 +110,6 @@
"cross-env": "^7.0.3",
"eslint": "~8.55.0",
"mocha": "^10.2.0",
"mocha-json-output-reporter": "^2.0.1",
"mocha-multi-reporters": "^1.5.1",
"moment": "^2.21.0",
"prettier": "~3.0.3",

Просмотреть файл

@ -112,7 +112,6 @@
"diff": "^3.5.0",
"eslint": "~8.55.0",
"mocha": "^10.2.0",
"mocha-json-output-reporter": "^2.0.1",
"mocha-multi-reporters": "^1.5.1",
"moment": "^2.21.0",
"prettier": "~3.0.3",

Просмотреть файл

@ -122,7 +122,6 @@
"eslint": "~8.55.0",
"eslint-config-prettier": "~9.0.0",
"mocha": "^10.2.0",
"mocha-json-output-reporter": "^2.0.1",
"mocha-multi-reporters": "^1.5.1",
"moment": "^2.21.0",
"prettier": "~3.0.3",

Просмотреть файл

@ -124,7 +124,6 @@
"eslint": "~8.55.0",
"eslint-config-prettier": "~9.0.0",
"mocha": "^10.2.0",
"mocha-json-output-reporter": "^2.0.1",
"mocha-multi-reporters": "^1.5.1",
"moment": "^2.21.0",
"prettier": "~3.0.3",

Просмотреть файл

@ -266,7 +266,6 @@ module.exports = {
"packages/test/mocha-test-setup/mocharc-common.js",
"packages/test/test-service-load/scripts/usePrereleaseDeps.js",
"packages/tools/devtools/devtools-browser-extension/test-setup.js",
"scripts/report-parser.js",
"tools/changelog-generator-wrapper/src/getDependencyReleaseLine.js",
"tools/changelog-generator-wrapper/src/getReleaseLine.js",
"tools/changelog-generator-wrapper/src/index.js",

Просмотреть файл

@ -159,7 +159,6 @@
"jest-junit": "^10.0.0",
"jest-puppeteer": "^9.0.2",
"mocha": "^10.2.0",
"mocha-json-output-reporter": "^2.0.1",
"mocha-multi-reporters": "^1.5.1",
"moment": "^2.21.0",
"prettier": "~3.0.3",

Просмотреть файл

@ -137,7 +137,6 @@
"eslint": "~8.55.0",
"eslint-config-prettier": "~9.0.0",
"mocha": "^10.2.0",
"mocha-json-output-reporter": "^2.0.1",
"mocha-multi-reporters": "^1.5.1",
"moment": "^2.21.0",
"prettier": "~3.0.3",

Просмотреть файл

@ -126,7 +126,6 @@
"cross-env": "^7.0.3",
"eslint": "~8.55.0",
"mocha": "^10.2.0",
"mocha-json-output-reporter": "^2.0.1",
"mocha-multi-reporters": "^1.5.1",
"moment": "^2.21.0",
"prettier": "~3.0.3",

Просмотреть файл

@ -143,7 +143,6 @@
"cross-env": "^7.0.3",
"eslint": "~8.55.0",
"mocha": "^10.2.0",
"mocha-json-output-reporter": "^2.0.1",
"mocha-multi-reporters": "^1.5.1",
"moment": "^2.21.0",
"prettier": "~3.0.3",

Просмотреть файл

@ -112,7 +112,6 @@
"cross-env": "^7.0.3",
"eslint": "~8.55.0",
"mocha": "^10.2.0",
"mocha-json-output-reporter": "^2.0.1",
"mocha-multi-reporters": "^1.5.1",
"moment": "^2.21.0",
"prettier": "~3.0.3",

Просмотреть файл

@ -157,7 +157,6 @@
"cross-env": "^7.0.3",
"eslint": "~8.55.0",
"mocha": "^10.2.0",
"mocha-json-output-reporter": "^2.0.1",
"mocha-multi-reporters": "^1.5.1",
"moment": "^2.21.0",
"prettier": "~3.0.3",

Просмотреть файл

@ -159,7 +159,6 @@
"eslint": "~8.55.0",
"hotloop": "^1.2.0",
"mocha": "^10.2.0",
"mocha-json-output-reporter": "^2.0.1",
"mocha-multi-reporters": "^1.5.1",
"moment": "^2.21.0",
"prettier": "~3.0.3",

Просмотреть файл

@ -167,7 +167,6 @@
"diff": "^3.5.0",
"eslint": "~8.55.0",
"mocha": "^10.2.0",
"mocha-json-output-reporter": "^2.0.1",
"mocha-multi-reporters": "^1.5.1",
"moment": "^2.21.0",
"prettier": "~3.0.3",

Просмотреть файл

@ -147,7 +147,6 @@
"cross-env": "^7.0.3",
"eslint": "~8.55.0",
"mocha": "^10.2.0",
"mocha-json-output-reporter": "^2.0.1",
"mocha-multi-reporters": "^1.5.1",
"moment": "^2.21.0",
"prettier": "~3.0.3",

Просмотреть файл

@ -110,7 +110,6 @@
"cross-env": "^7.0.3",
"eslint": "~8.55.0",
"mocha": "^10.2.0",
"mocha-json-output-reporter": "^2.0.1",
"mocha-junit-reporter": "^1.18.0",
"mocha-multi-reporters": "^1.5.1",
"moment": "^2.21.0",

Просмотреть файл

@ -144,7 +144,6 @@
"cross-env": "^7.0.3",
"eslint": "~8.55.0",
"mocha": "^10.2.0",
"mocha-json-output-reporter": "^2.0.1",
"mocha-multi-reporters": "^1.5.1",
"moment": "^2.21.0",
"prettier": "~3.0.3",

Просмотреть файл

@ -173,7 +173,6 @@
"diff": "^3.5.0",
"eslint": "~8.55.0",
"mocha": "^10.2.0",
"mocha-json-output-reporter": "^2.0.1",
"mocha-multi-reporters": "^1.5.1",
"moment": "^2.21.0",
"prettier": "~3.0.3",

Просмотреть файл

@ -152,7 +152,6 @@
"cross-env": "^7.0.3",
"eslint": "~8.55.0",
"mocha": "^10.2.0",
"mocha-json-output-reporter": "^2.0.1",
"mocha-multi-reporters": "^1.5.1",
"moment": "^2.21.0",
"prettier": "~3.0.3",

Просмотреть файл

@ -145,7 +145,6 @@
"cross-env": "^7.0.3",
"eslint": "~8.55.0",
"mocha": "^10.2.0",
"mocha-json-output-reporter": "^2.0.1",
"mocha-multi-reporters": "^1.5.1",
"moment": "^2.21.0",
"prettier": "~3.0.3",

Просмотреть файл

@ -147,7 +147,6 @@
"cross-env": "^7.0.3",
"eslint": "~8.55.0",
"mocha": "^10.2.0",
"mocha-json-output-reporter": "^2.0.1",
"mocha-junit-reporter": "^1.18.0",
"mocha-multi-reporters": "^1.5.1",
"moment": "^2.21.0",

Просмотреть файл

@ -114,7 +114,6 @@
"cross-env": "^7.0.3",
"eslint": "~8.55.0",
"execa": "^5.1.1",
"mocha-json-output-reporter": "^2.0.1",
"mocha-multi-reporters": "^1.5.1",
"moment": "^2.21.0",
"prettier": "~3.0.3",

Просмотреть файл

@ -203,7 +203,6 @@
"eslint": "~8.55.0",
"eslint-config-prettier": "~9.0.0",
"mocha": "^10.2.0",
"mocha-json-output-reporter": "^2.0.1",
"mocha-multi-reporters": "^1.5.1",
"moment": "^2.21.0",
"prettier": "~3.0.3",

Просмотреть файл

@ -122,7 +122,6 @@
"cross-env": "^7.0.3",
"eslint": "~8.55.0",
"mocha": "^10.2.0",
"mocha-json-output-reporter": "^2.0.1",
"mocha-multi-reporters": "^1.5.1",
"moment": "^2.21.0",
"prettier": "~3.0.3",

Просмотреть файл

@ -152,7 +152,6 @@
"cross-env": "^7.0.3",
"eslint": "~8.55.0",
"mocha": "^10.2.0",
"mocha-json-output-reporter": "^2.0.1",
"mocha-multi-reporters": "^1.5.1",
"moment": "^2.21.0",
"prettier": "~3.0.3",

Просмотреть файл

@ -149,7 +149,6 @@
"cross-env": "^7.0.3",
"eslint": "~8.55.0",
"mocha": "^10.2.0",
"mocha-json-output-reporter": "^2.0.1",
"mocha-multi-reporters": "^1.5.1",
"moment": "^2.21.0",
"prettier": "~3.0.3",

Просмотреть файл

@ -99,7 +99,6 @@
"cross-env": "^7.0.3",
"eslint": "~8.55.0",
"mocha": "^10.2.0",
"mocha-json-output-reporter": "^2.0.1",
"mocha-multi-reporters": "^1.5.1",
"moment": "^2.21.0",
"prettier": "~3.0.3",

Просмотреть файл

@ -150,7 +150,6 @@
"cross-env": "^7.0.3",
"eslint": "~8.55.0",
"mocha": "^10.2.0",
"mocha-json-output-reporter": "^2.0.1",
"mocha-multi-reporters": "^1.5.1",
"moment": "^2.21.0",
"nock": "^13.3.3",

Просмотреть файл

@ -99,7 +99,6 @@
"cross-env": "^7.0.3",
"eslint": "~8.55.0",
"mocha": "^10.2.0",
"mocha-json-output-reporter": "^2.0.1",
"mocha-multi-reporters": "^1.5.1",
"moment": "^2.21.0",
"prettier": "~3.0.3",

Просмотреть файл

@ -147,7 +147,6 @@
"cross-env": "^7.0.3",
"eslint": "~8.55.0",
"mocha": "^10.2.0",
"mocha-json-output-reporter": "^2.0.1",
"mocha-multi-reporters": "^1.5.1",
"moment": "^2.21.0",
"prettier": "~3.0.3",

Просмотреть файл

@ -118,7 +118,6 @@
"cross-env": "^7.0.3",
"eslint": "~8.55.0",
"mocha": "^10.2.0",
"mocha-json-output-reporter": "^2.0.1",
"mocha-multi-reporters": "^1.5.1",
"moment": "^2.21.0",
"prettier": "~3.0.3",

Просмотреть файл

@ -110,7 +110,6 @@
"diff": "^3.5.0",
"eslint": "~8.55.0",
"mocha": "^10.2.0",
"mocha-json-output-reporter": "^2.0.1",
"mocha-multi-reporters": "^1.5.1",
"moment": "^2.21.0",
"prettier": "~3.0.3",

Просмотреть файл

@ -131,7 +131,6 @@
"cross-env": "^7.0.3",
"eslint": "~8.55.0",
"mocha": "^10.2.0",
"mocha-json-output-reporter": "^2.0.1",
"mocha-multi-reporters": "^1.5.1",
"moment": "^2.21.0",
"prettier": "~3.0.3",

Просмотреть файл

@ -149,7 +149,6 @@
"cross-env": "^7.0.3",
"eslint": "~8.55.0",
"mocha": "^10.2.0",
"mocha-json-output-reporter": "^2.0.1",
"mocha-multi-reporters": "^1.5.1",
"prettier": "~3.0.3",
"rimraf": "^4.4.0",

Просмотреть файл

@ -140,7 +140,6 @@
"diff": "^3.5.0",
"eslint": "~8.55.0",
"mocha": "^10.2.0",
"mocha-json-output-reporter": "^2.0.1",
"mocha-multi-reporters": "^1.5.1",
"moment": "^2.21.0",
"prettier": "~3.0.3",

Просмотреть файл

@ -137,7 +137,6 @@
"cross-env": "^7.0.3",
"eslint": "~8.55.0",
"mocha": "^10.2.0",
"mocha-json-output-reporter": "^2.0.1",
"mocha-multi-reporters": "^1.5.1",
"moment": "^2.21.0",
"prettier": "~3.0.3",

Просмотреть файл

@ -123,7 +123,6 @@
"diff": "^3.5.0",
"eslint": "~8.55.0",
"mocha": "^10.2.0",
"mocha-json-output-reporter": "^2.0.1",
"mocha-multi-reporters": "^1.5.1",
"moment": "^2.21.0",
"prettier": "~3.0.3",

Просмотреть файл

@ -206,7 +206,6 @@
"cross-env": "^7.0.3",
"eslint": "~8.55.0",
"mocha": "^10.2.0",
"mocha-json-output-reporter": "^2.0.1",
"mocha-multi-reporters": "^1.5.1",
"moment": "^2.21.0",
"prettier": "~3.0.3",

Просмотреть файл

@ -144,7 +144,6 @@
"cross-env": "^7.0.3",
"eslint": "~8.55.0",
"mocha": "^10.2.0",
"mocha-json-output-reporter": "^2.0.1",
"mocha-multi-reporters": "^1.5.1",
"moment": "^2.21.0",
"prettier": "~3.0.3",

Просмотреть файл

@ -221,7 +221,6 @@
"cross-env": "^7.0.3",
"eslint": "~8.55.0",
"mocha": "^10.2.0",
"mocha-json-output-reporter": "^2.0.1",
"mocha-multi-reporters": "^1.5.1",
"moment": "^2.21.0",
"prettier": "~3.0.3",

Просмотреть файл

@ -151,7 +151,6 @@
"cross-env": "^7.0.3",
"eslint": "~8.55.0",
"mocha": "^10.2.0",
"mocha-json-output-reporter": "^2.0.1",
"mocha-multi-reporters": "^1.5.1",
"moment": "^2.21.0",
"prettier": "~3.0.3",

Просмотреть файл

@ -156,7 +156,6 @@
"cross-env": "^7.0.3",
"eslint": "~8.55.0",
"mocha": "^10.2.0",
"mocha-json-output-reporter": "^2.0.1",
"mocha-multi-reporters": "^1.5.1",
"moment": "^2.21.0",
"prettier": "~3.0.3",

Просмотреть файл

@ -144,7 +144,6 @@
"cross-env": "^7.0.3",
"eslint": "~8.55.0",
"mocha": "^10.2.0",
"mocha-json-output-reporter": "^2.0.1",
"mocha-multi-reporters": "^1.5.1",
"moment": "^2.21.0",
"prettier": "~3.0.3",

Просмотреть файл

@ -148,7 +148,6 @@
"cross-env": "^7.0.3",
"eslint": "~8.55.0",
"mocha": "^10.2.0",
"mocha-json-output-reporter": "^2.0.1",
"mocha-multi-reporters": "^1.5.1",
"moment": "^2.21.0",
"prettier": "~3.0.3",

Просмотреть файл

@ -83,7 +83,6 @@
"axios": "^1.7.7",
"cross-env": "^7.0.3",
"mocha": "^10.2.0",
"mocha-json-output-reporter": "^2.0.1",
"mocha-multi-reporters": "^1.5.1",
"moment": "^2.21.0",
"sinon": "^17.0.1",

Просмотреть файл

@ -72,7 +72,6 @@
"@fluidframework/test-utils": "workspace:~",
"@types/sinon": "^17.0.3",
"mocha": "^10.2.0",
"mocha-json-output-reporter": "^2.0.1",
"mocha-multi-reporters": "^1.5.1",
"moment": "^2.21.0",
"sinon": "^17.0.1",

Просмотреть файл

@ -90,7 +90,6 @@
"eslint": "~8.55.0",
"events_pkg": "npm:events@^3.1.0",
"mocha": "^10.2.0",
"mocha-json-output-reporter": "^2.0.1",
"mocha-multi-reporters": "^1.5.1",
"moment": "^2.21.0",
"prettier": "~3.0.3",

Просмотреть файл

@ -102,7 +102,6 @@
"cross-env": "^7.0.3",
"eslint": "~8.55.0",
"mocha": "^10.2.0",
"mocha-json-output-reporter": "^2.0.1",
"mocha-multi-reporters": "^1.5.1",
"moment": "^2.21.0",
"nock": "^13.3.3",

Просмотреть файл

@ -66,7 +66,7 @@ function getFluidTestMochaConfig(packageDir, additionalRequiredModules, testRepo
// See https://www.npmjs.com/package/mocha-multi-reporters#cmroutput-option
const outputFilePrefix = testReportPrefix !== undefined ? `${testReportPrefix}-` : "";
console.log(
`Writing test results relative to package to nyc/${outputFilePrefix}junit-report.xml and nyc/${outputFilePrefix}junit-report.json`,
`Writing test results relative to package to nyc/${outputFilePrefix}junit-report.xml`,
);
const suiteName =
testReportPrefix !== undefined
@ -76,7 +76,7 @@ function getFluidTestMochaConfig(packageDir, additionalRequiredModules, testRepo
`configFile=${path.join(
__dirname,
"test-config.json",
)},cmrOutput=xunit+output+${outputFilePrefix}:mocha-json-output-reporter+output+${outputFilePrefix}:xunit+suiteName+${suiteName}`,
)},cmrOutput=xunit+output+${outputFilePrefix}:xunit+suiteName+${suiteName}`,
];
if (process.env.FLUID_TEST_FORBID_ONLY !== undefined) {

Просмотреть файл

@ -1,10 +1,7 @@
{
"reporterEnabled": "xunit,mocha-json-output-reporter,spec",
"reporterEnabled": "spec,xunit",
"xunitReporterOptions": {
"output": "nyc/{id}junit-report.xml",
"suiteName": "{id}"
},
"mochaJsonOutputReporterReporterOptions": {
"output": "nyc/{id}junit-report.json"
}
}

Просмотреть файл

@ -100,7 +100,6 @@
"cross-env": "^7.0.3",
"eslint": "~8.55.0",
"mocha": "^10.2.0",
"mocha-json-output-reporter": "^2.0.1",
"mocha-multi-reporters": "^1.5.1",
"moment": "^2.21.0",
"prettier": "~3.0.3",

Просмотреть файл

@ -114,7 +114,6 @@
"cross-env": "^7.0.3",
"eslint": "~8.55.0",
"mocha": "^10.2.0",
"mocha-json-output-reporter": "^2.0.1",
"mocha-multi-reporters": "^1.5.1",
"moment": "^2.21.0",
"prettier": "~3.0.3",

Просмотреть файл

@ -143,7 +143,6 @@
"@types/uuid": "^9.0.2",
"c8": "^8.0.1",
"eslint": "~8.55.0",
"mocha-json-output-reporter": "^2.0.1",
"mocha-multi-reporters": "^1.5.1",
"moment": "^2.21.0",
"nock": "^13.3.3",

Просмотреть файл

@ -160,7 +160,6 @@
"cross-env": "^7.0.3",
"diff": "^3.5.0",
"eslint": "~8.55.0",
"mocha-json-output-reporter": "^2.0.1",
"mocha-multi-reporters": "^1.5.1",
"moment": "^2.21.0",
"prettier": "~3.0.3",

Просмотреть файл

@ -125,7 +125,6 @@
"cross-env": "^7.0.3",
"eslint": "~8.55.0",
"mocha": "^10.2.0",
"mocha-json-output-reporter": "^2.0.1",
"mocha-multi-reporters": "^1.5.1",
"moment": "^2.21.0",
"nock": "^13.3.3",

Просмотреть файл

@ -149,7 +149,6 @@
"eslint-config-prettier": "~9.0.0",
"eslint-plugin-chai-expect": "~3.0.0",
"mocha": "^10.2.0",
"mocha-json-output-reporter": "^2.0.1",
"mocha-multi-reporters": "^1.5.1",
"moment": "^2.21.0",
"prettier": "~3.0.3",

Просмотреть файл

@ -124,7 +124,6 @@
"jest": "^29.6.2",
"jest-junit": "^10.0.0",
"mocha": "^10.2.0",
"mocha-json-output-reporter": "^2.0.1",
"mocha-multi-reporters": "^1.5.1",
"moment": "^2.21.0",
"playwright": "^1.36.0",

Просмотреть файл

@ -143,7 +143,6 @@
"eslint-config-prettier": "~9.0.0",
"eslint-plugin-chai-expect": "~3.0.0",
"mocha": "^10.2.0",
"mocha-json-output-reporter": "^2.0.1",
"mocha-multi-reporters": "^1.5.1",
"moment": "^2.21.0",
"prettier": "~3.0.3",

Просмотреть файл

@ -146,7 +146,6 @@
"cross-env": "^7.0.3",
"eslint": "~8.55.0",
"mocha": "^10.2.0",
"mocha-json-output-reporter": "^2.0.1",
"mocha-multi-reporters": "^1.5.1",
"moment": "^2.21.0",
"prettier": "~3.0.3",

Просмотреть файл

@ -142,7 +142,6 @@
"cross-env": "^7.0.3",
"eslint": "~8.55.0",
"mocha": "^10.2.0",
"mocha-json-output-reporter": "^2.0.1",
"mocha-multi-reporters": "^1.5.1",
"moment": "^2.21.0",
"prettier": "~3.0.3",

Просмотреть файл

@ -143,7 +143,6 @@
"cross-env": "^7.0.3",
"eslint": "~8.55.0",
"mocha": "^10.2.0",
"mocha-json-output-reporter": "^2.0.1",
"mocha-multi-reporters": "^1.5.1",
"moment": "^2.21.0",
"prettier": "~3.0.3",

Просмотреть файл

@ -126,7 +126,6 @@
"cross-env": "^7.0.3",
"eslint": "~8.55.0",
"mocha": "^10.2.0",
"mocha-json-output-reporter": "^2.0.1",
"mocha-multi-reporters": "^1.5.1",
"moment": "^2.21.0",
"prettier": "~3.0.3",

Просмотреть файл

@ -1973,9 +1973,6 @@ importers:
mocha:
specifier: ^10.2.0
version: 10.7.3
mocha-json-output-reporter:
specifier: ^2.0.1
version: 2.1.0(mocha@10.7.3)(moment@2.30.1)
mocha-multi-reporters:
specifier: ^1.5.1
version: 1.5.1(mocha@10.7.3)
@ -3557,9 +3554,6 @@ importers:
mocha:
specifier: ^10.2.0
version: 10.7.3
mocha-json-output-reporter:
specifier: ^2.0.1
version: 2.1.0(mocha@10.7.3)(moment@2.30.1)
mocha-multi-reporters:
specifier: ^1.5.1
version: 1.5.1(mocha@10.7.3)
@ -3820,9 +3814,6 @@ importers:
mocha:
specifier: ^10.2.0
version: 10.7.3
mocha-json-output-reporter:
specifier: ^2.0.1
version: 2.1.0(mocha@10.7.3)(moment@2.30.1)
mocha-multi-reporters:
specifier: ^1.5.1
version: 1.5.1(mocha@10.7.3)
@ -4787,9 +4778,6 @@ importers:
mocha:
specifier: ^10.2.0
version: 10.7.3
mocha-json-output-reporter:
specifier: ^2.0.1
version: 2.1.0(mocha@10.7.3)(moment@2.30.1)
mocha-multi-reporters:
specifier: ^1.5.1
version: 1.5.1(mocha@10.7.3)
@ -5887,9 +5875,6 @@ importers:
mocha:
specifier: ^10.2.0
version: 10.7.3
mocha-json-output-reporter:
specifier: ^2.0.1
version: 2.1.0(mocha@10.7.3)(moment@2.30.1)
mocha-multi-reporters:
specifier: ^1.5.1
version: 1.5.1(mocha@10.7.3)
@ -5996,9 +5981,6 @@ importers:
mocha:
specifier: ^10.2.0
version: 10.7.3
mocha-json-output-reporter:
specifier: ^2.0.1
version: 2.1.0(mocha@10.7.3)(moment@2.30.1)
mocha-multi-reporters:
specifier: ^1.5.1
version: 1.5.1(mocha@10.7.3)
@ -6161,9 +6143,6 @@ importers:
mocha:
specifier: ^10.2.0
version: 10.7.3
mocha-json-output-reporter:
specifier: ^2.0.1
version: 2.1.0(mocha@10.7.3)(moment@2.30.1)
mocha-multi-reporters:
specifier: ^1.5.1
version: 1.5.1(mocha@10.7.3)
@ -6243,9 +6222,6 @@ importers:
mocha:
specifier: ^10.2.0
version: 10.7.3
mocha-json-output-reporter:
specifier: ^2.0.1
version: 2.1.0(mocha@10.7.3)(moment@2.30.1)
mocha-multi-reporters:
specifier: ^1.5.1
version: 1.5.1(mocha@10.7.3)
@ -6370,9 +6346,6 @@ importers:
mocha:
specifier: ^10.2.0
version: 10.7.3
mocha-json-output-reporter:
specifier: ^2.0.1
version: 2.1.0(mocha@10.7.3)(moment@2.30.1)
mocha-multi-reporters:
specifier: ^1.5.1
version: 1.5.1(mocha@10.7.3)
@ -6470,9 +6443,6 @@ importers:
mocha:
specifier: ^10.2.0
version: 10.7.3
mocha-json-output-reporter:
specifier: ^2.0.1
version: 2.1.0(mocha@10.7.3)(moment@2.30.1)
mocha-multi-reporters:
specifier: ^1.5.1
version: 1.5.1(mocha@10.7.3)
@ -6570,9 +6540,6 @@ importers:
mocha:
specifier: ^10.2.0
version: 10.7.3
mocha-json-output-reporter:
specifier: ^2.0.1
version: 2.1.0(mocha@10.7.3)(moment@2.30.1)
mocha-multi-reporters:
specifier: ^1.5.1
version: 1.5.1(mocha@10.7.3)
@ -6670,9 +6637,6 @@ importers:
mocha:
specifier: ^10.2.0
version: 10.7.3
mocha-json-output-reporter:
specifier: ^2.0.1
version: 2.1.0(mocha@10.7.3)(moment@2.30.1)
mocha-multi-reporters:
specifier: ^1.5.1
version: 1.5.1(mocha@10.7.3)
@ -6830,9 +6794,6 @@ importers:
mocha:
specifier: ^10.2.0
version: 10.7.3
mocha-json-output-reporter:
specifier: ^2.0.1
version: 2.1.0(mocha@10.7.3)(moment@2.30.1)
mocha-multi-reporters:
specifier: ^1.5.1
version: 1.5.1(mocha@10.7.3)
@ -7073,9 +7034,6 @@ importers:
mocha:
specifier: ^10.2.0
version: 10.7.3
mocha-json-output-reporter:
specifier: ^2.0.1
version: 2.1.0(mocha@10.7.3)(moment@2.30.1)
mocha-multi-reporters:
specifier: ^1.5.1
version: 1.5.1(mocha@10.7.3)
@ -7200,9 +7158,6 @@ importers:
mocha:
specifier: ^10.2.0
version: 10.7.3
mocha-json-output-reporter:
specifier: ^2.0.1
version: 2.1.0(mocha@10.7.3)(moment@2.30.1)
mocha-multi-reporters:
specifier: ^1.5.1
version: 1.5.1(mocha@10.7.3)
@ -7399,9 +7354,6 @@ importers:
mocha:
specifier: ^10.2.0
version: 10.7.3
mocha-json-output-reporter:
specifier: ^2.0.1
version: 2.1.0(mocha@10.7.3)(moment@2.30.1)
mocha-multi-reporters:
specifier: ^1.5.1
version: 1.5.1(mocha@10.7.3)
@ -7554,9 +7506,6 @@ importers:
mocha:
specifier: ^10.2.0
version: 10.7.3
mocha-json-output-reporter:
specifier: ^2.0.1
version: 2.1.0(mocha@10.7.3)(moment@2.30.1)
mocha-multi-reporters:
specifier: ^1.5.1
version: 1.5.1(mocha@10.7.3)
@ -7657,9 +7606,6 @@ importers:
mocha:
specifier: ^10.2.0
version: 10.7.3
mocha-json-output-reporter:
specifier: ^2.0.1
version: 2.1.0(mocha@10.7.3)(moment@2.30.1)
mocha-multi-reporters:
specifier: ^1.5.1
version: 1.5.1(mocha@10.7.3)
@ -7760,9 +7706,6 @@ importers:
mocha:
specifier: ^10.2.0
version: 10.7.3
mocha-json-output-reporter:
specifier: ^2.0.1
version: 2.1.0(mocha@10.7.3)(moment@2.30.1)
mocha-multi-reporters:
specifier: ^1.5.1
version: 1.5.1(mocha@10.7.3)
@ -7890,9 +7833,6 @@ importers:
mocha:
specifier: ^10.2.0
version: 10.7.3
mocha-json-output-reporter:
specifier: ^2.0.1
version: 2.1.0(mocha@10.7.3)(moment@2.30.1)
mocha-multi-reporters:
specifier: ^1.5.1
version: 1.5.1(mocha@10.7.3)
@ -8035,9 +7975,6 @@ importers:
mocha:
specifier: ^10.2.0
version: 10.7.3
mocha-json-output-reporter:
specifier: ^2.0.1
version: 2.1.0(mocha@10.7.3)(moment@2.30.1)
mocha-multi-reporters:
specifier: ^1.5.1
version: 1.5.1(mocha@10.7.3)
@ -8162,9 +8099,6 @@ importers:
mocha:
specifier: ^10.2.0
version: 10.7.3
mocha-json-output-reporter:
specifier: ^2.0.1
version: 2.1.0(mocha@10.7.3)(moment@2.30.1)
mocha-multi-reporters:
specifier: ^1.5.1
version: 1.5.1(mocha@10.7.3)
@ -8277,9 +8211,6 @@ importers:
mocha:
specifier: ^10.2.0
version: 10.7.3
mocha-json-output-reporter:
specifier: ^2.0.1
version: 2.1.0(mocha@10.7.3)(moment@2.30.1)
mocha-multi-reporters:
specifier: ^1.5.1
version: 1.5.1(mocha@10.7.3)
@ -8380,9 +8311,6 @@ importers:
mocha:
specifier: ^10.2.0
version: 10.7.3
mocha-json-output-reporter:
specifier: ^2.0.1
version: 2.1.0(mocha@10.7.3)(moment@2.30.1)
mocha-junit-reporter:
specifier: ^1.18.0
version: 1.23.3(mocha@10.7.3)
@ -8489,9 +8417,6 @@ importers:
mocha:
specifier: ^10.2.0
version: 10.7.3
mocha-json-output-reporter:
specifier: ^2.0.1
version: 2.1.0(mocha@10.7.3)(moment@2.30.1)
mocha-multi-reporters:
specifier: ^1.5.1
version: 1.5.1(mocha@10.7.3)
@ -8628,9 +8553,6 @@ importers:
mocha:
specifier: ^10.2.0
version: 10.7.3
mocha-json-output-reporter:
specifier: ^2.0.1
version: 2.1.0(mocha@10.7.3)(moment@2.30.1)
mocha-multi-reporters:
specifier: ^1.5.1
version: 1.5.1(mocha@10.7.3)
@ -8758,9 +8680,6 @@ importers:
mocha:
specifier: ^10.2.0
version: 10.7.3
mocha-json-output-reporter:
specifier: ^2.0.1
version: 2.1.0(mocha@10.7.3)(moment@2.30.1)
mocha-multi-reporters:
specifier: ^1.5.1
version: 1.5.1(mocha@10.7.3)
@ -8867,9 +8786,6 @@ importers:
mocha:
specifier: ^10.2.0
version: 10.7.3
mocha-json-output-reporter:
specifier: ^2.0.1
version: 2.1.0(mocha@10.7.3)(moment@2.30.1)
mocha-multi-reporters:
specifier: ^1.5.1
version: 1.5.1(mocha@10.7.3)
@ -8982,9 +8898,6 @@ importers:
mocha:
specifier: ^10.2.0
version: 10.7.3
mocha-json-output-reporter:
specifier: ^2.0.1
version: 2.1.0(mocha@10.7.3)(moment@2.30.1)
mocha-junit-reporter:
specifier: ^1.18.0
version: 1.23.3(mocha@10.7.3)
@ -9100,9 +9013,6 @@ importers:
execa:
specifier: ^5.1.1
version: 5.1.1
mocha-json-output-reporter:
specifier: ^2.0.1
version: 2.1.0(mocha@10.7.3)(moment@2.30.1)
mocha-multi-reporters:
specifier: ^1.5.1
version: 1.5.1(mocha@10.7.3)
@ -9272,9 +9182,6 @@ importers:
mocha:
specifier: ^10.2.0
version: 10.7.3
mocha-json-output-reporter:
specifier: ^2.0.1
version: 2.1.0(mocha@10.7.3)(moment@2.30.1)
mocha-multi-reporters:
specifier: ^1.5.1
version: 1.5.1(mocha@10.7.3)
@ -9427,9 +9334,6 @@ importers:
mocha:
specifier: ^10.2.0
version: 10.7.3
mocha-json-output-reporter:
specifier: ^2.0.1
version: 2.1.0(mocha@10.7.3)(moment@2.30.1)
mocha-multi-reporters:
specifier: ^1.5.1
version: 1.5.1(mocha@10.7.3)
@ -9694,9 +9598,6 @@ importers:
mocha:
specifier: ^10.2.0
version: 10.7.3
mocha-json-output-reporter:
specifier: ^2.0.1
version: 2.1.0(mocha@10.7.3)(moment@2.30.1)
mocha-multi-reporters:
specifier: ^1.5.1
version: 1.5.1(mocha@10.7.3)
@ -9815,9 +9716,6 @@ importers:
mocha:
specifier: ^10.2.0
version: 10.7.3
mocha-json-output-reporter:
specifier: ^2.0.1
version: 2.1.0(mocha@10.7.3)(moment@2.30.1)
mocha-multi-reporters:
specifier: ^1.5.1
version: 1.5.1(mocha@10.7.3)
@ -9958,9 +9856,6 @@ importers:
mocha:
specifier: ^10.2.0
version: 10.7.3
mocha-json-output-reporter:
specifier: ^2.0.1
version: 2.1.0(mocha@10.7.3)(moment@2.30.1)
mocha-multi-reporters:
specifier: ^1.5.1
version: 1.5.1(mocha@10.7.3)
@ -10152,9 +10047,6 @@ importers:
mocha:
specifier: ^10.2.0
version: 10.7.3
mocha-json-output-reporter:
specifier: ^2.0.1
version: 2.1.0(mocha@10.7.3)(moment@2.30.1)
mocha-multi-reporters:
specifier: ^1.5.1
version: 1.5.1(mocha@10.7.3)
@ -10246,9 +10138,6 @@ importers:
mocha:
specifier: ^10.2.0
version: 10.7.3
mocha-json-output-reporter:
specifier: ^2.0.1
version: 2.1.0(mocha@10.7.3)(moment@2.30.1)
mocha-multi-reporters:
specifier: ^1.5.1
version: 1.5.1(mocha@10.7.3)
@ -10534,9 +10423,6 @@ importers:
mocha:
specifier: ^10.2.0
version: 10.7.3
mocha-json-output-reporter:
specifier: ^2.0.1
version: 2.1.0(mocha@10.7.3)(moment@2.30.1)
mocha-multi-reporters:
specifier: ^1.5.1
version: 1.5.1(mocha@10.7.3)
@ -10655,9 +10541,6 @@ importers:
mocha:
specifier: ^10.2.0
version: 10.7.3
mocha-json-output-reporter:
specifier: ^2.0.1
version: 2.1.0(mocha@10.7.3)(moment@2.30.1)
mocha-multi-reporters:
specifier: ^1.5.1
version: 1.5.1(mocha@10.7.3)
@ -11016,9 +10899,6 @@ importers:
mocha:
specifier: ^10.2.0
version: 10.7.3
mocha-json-output-reporter:
specifier: ^2.0.1
version: 2.1.0(mocha@10.7.3)(moment@2.30.1)
mocha-multi-reporters:
specifier: ^1.5.1
version: 1.5.1(mocha@10.7.3)
@ -11213,9 +11093,6 @@ importers:
mocha:
specifier: ^10.2.0
version: 10.7.3
mocha-json-output-reporter:
specifier: ^2.0.1
version: 2.1.0(mocha@10.7.3)(moment@2.30.1)
mocha-multi-reporters:
specifier: ^1.5.1
version: 1.5.1(mocha@10.7.3)
@ -11398,9 +11275,6 @@ importers:
mocha:
specifier: ^10.2.0
version: 10.7.3
mocha-json-output-reporter:
specifier: ^2.0.1
version: 2.1.0(mocha@10.7.3)(moment@2.30.1)
mocha-multi-reporters:
specifier: ^1.5.1
version: 1.5.1(mocha@10.7.3)
@ -11492,9 +11366,6 @@ importers:
mocha:
specifier: ^10.2.0
version: 10.7.3
mocha-json-output-reporter:
specifier: ^2.0.1
version: 2.1.0(mocha@10.7.3)(moment@2.30.1)
mocha-multi-reporters:
specifier: ^1.5.1
version: 1.5.1(mocha@10.7.3)
@ -11577,9 +11448,6 @@ importers:
mocha:
specifier: ^10.2.0
version: 10.7.3
mocha-json-output-reporter:
specifier: ^2.0.1
version: 2.1.0(mocha@10.7.3)(moment@2.30.1)
mocha-multi-reporters:
specifier: ^1.5.1
version: 1.5.1(mocha@10.7.3)
@ -11674,9 +11542,6 @@ importers:
mocha:
specifier: ^10.2.0
version: 10.7.3
mocha-json-output-reporter:
specifier: ^2.0.1
version: 2.1.0(mocha@10.7.3)(moment@2.30.1)
mocha-multi-reporters:
specifier: ^1.5.1
version: 1.5.1(mocha@10.7.3)
@ -11804,9 +11669,6 @@ importers:
mocha:
specifier: ^10.2.0
version: 10.7.3
mocha-json-output-reporter:
specifier: ^2.0.1
version: 2.1.0(mocha@10.7.3)(moment@2.30.1)
mocha-multi-reporters:
specifier: ^1.5.1
version: 1.5.1(mocha@10.7.3)
@ -11910,9 +11772,6 @@ importers:
mocha:
specifier: ^10.2.0
version: 10.7.3
mocha-json-output-reporter:
specifier: ^2.0.1
version: 2.1.0(mocha@10.7.3)(moment@2.30.1)
mocha-multi-reporters:
specifier: ^1.5.1
version: 1.5.1(mocha@10.7.3)
@ -12110,9 +11969,6 @@ importers:
mocha:
specifier: ^10.2.0
version: 10.7.3
mocha-json-output-reporter:
specifier: ^2.0.1
version: 2.1.0(mocha@10.7.3)(moment@2.30.1)
mocha-multi-reporters:
specifier: ^1.5.1
version: 1.5.1(mocha@10.7.3)
@ -12289,9 +12145,6 @@ importers:
mocha:
specifier: ^10.2.0
version: 10.7.3
mocha-json-output-reporter:
specifier: ^2.0.1
version: 2.1.0(mocha@10.7.3)(moment@2.30.1)
mocha-multi-reporters:
specifier: ^1.5.1
version: 1.5.1(mocha@10.7.3)
@ -12450,9 +12303,6 @@ importers:
mocha:
specifier: ^10.2.0
version: 10.7.3
mocha-json-output-reporter:
specifier: ^2.0.1
version: 2.1.0(mocha@10.7.3)(moment@2.30.1)
mocha-multi-reporters:
specifier: ^1.5.1
version: 1.5.1(mocha@10.7.3)
@ -12620,9 +12470,6 @@ importers:
mocha:
specifier: ^10.2.0
version: 10.7.3
mocha-json-output-reporter:
specifier: ^2.0.1
version: 2.1.0(mocha@10.7.3)(moment@2.30.1)
mocha-multi-reporters:
specifier: ^1.5.1
version: 1.5.1(mocha@10.7.3)
@ -12747,9 +12594,6 @@ importers:
mocha:
specifier: ^10.2.0
version: 10.7.3
mocha-json-output-reporter:
specifier: ^2.0.1
version: 2.1.0(mocha@10.7.3)(moment@2.30.1)
mocha-multi-reporters:
specifier: ^1.5.1
version: 1.5.1(mocha@10.7.3)
@ -12958,9 +12802,6 @@ importers:
mocha:
specifier: ^10.2.0
version: 10.7.3
mocha-json-output-reporter:
specifier: ^2.0.1
version: 2.1.0(mocha@10.7.3)(moment@2.30.1)
mocha-multi-reporters:
specifier: ^1.5.1
version: 1.5.1(mocha@10.7.3)
@ -13082,9 +12923,6 @@ importers:
mocha:
specifier: ^10.2.0
version: 10.7.3
mocha-json-output-reporter:
specifier: ^2.0.1
version: 2.1.0(mocha@10.7.3)(moment@2.30.1)
mocha-multi-reporters:
specifier: ^1.5.1
version: 1.5.1(mocha@10.7.3)
@ -13457,9 +13295,6 @@ importers:
mocha:
specifier: ^10.2.0
version: 10.7.3
mocha-json-output-reporter:
specifier: ^2.0.1
version: 2.1.0(mocha@10.7.3)(moment@2.30.1)
mocha-multi-reporters:
specifier: ^1.5.1
version: 1.5.1(mocha@10.7.3)
@ -13626,9 +13461,6 @@ importers:
mocha:
specifier: ^10.2.0
version: 10.7.3
mocha-json-output-reporter:
specifier: ^2.0.1
version: 2.1.0(mocha@10.7.3)(moment@2.30.1)
mocha-multi-reporters:
specifier: ^1.5.1
version: 1.5.1(mocha@10.7.3)
@ -13826,9 +13658,6 @@ importers:
eslint:
specifier: ~8.55.0
version: 8.55.0
mocha-json-output-reporter:
specifier: ^2.0.1
version: 2.1.0(mocha@10.7.3)(moment@2.30.1)
mocha-multi-reporters:
specifier: ^1.5.1
version: 1.5.1(mocha@10.7.3)
@ -13905,9 +13734,6 @@ importers:
mocha:
specifier: ^10.2.0
version: 10.7.3
mocha-json-output-reporter:
specifier: ^2.0.1
version: 2.1.0(mocha@10.7.3)(moment@2.30.1)
mocha-multi-reporters:
specifier: ^1.5.1
version: 1.5.1(mocha@10.7.3)
@ -14277,9 +14103,6 @@ importers:
eslint:
specifier: ~8.55.0
version: 8.55.0
mocha-json-output-reporter:
specifier: ^2.0.1
version: 2.1.0(mocha@10.7.3)(moment@2.30.1)
mocha-multi-reporters:
specifier: ^1.5.1
version: 1.5.1(mocha@10.7.3)
@ -14628,9 +14451,6 @@ importers:
eslint:
specifier: ~8.55.0
version: 8.55.0
mocha-json-output-reporter:
specifier: ^2.0.1
version: 2.1.0(mocha@10.7.3)(moment@2.30.1)
mocha-multi-reporters:
specifier: ^1.5.1
version: 1.5.1(mocha@10.7.3)
@ -14800,9 +14620,6 @@ importers:
mocha:
specifier: ^10.2.0
version: 10.7.3
mocha-json-output-reporter:
specifier: ^2.0.1
version: 2.1.0(mocha@10.7.3)(moment@2.30.1)
mocha-multi-reporters:
specifier: ^1.5.1
version: 1.5.1(mocha@10.7.3)
@ -14961,9 +14778,6 @@ importers:
mocha:
specifier: ^10.2.0
version: 10.7.3
mocha-json-output-reporter:
specifier: ^2.0.1
version: 2.1.0(mocha@10.7.3)(moment@2.30.1)
mocha-multi-reporters:
specifier: ^1.5.1
version: 1.5.1(mocha@10.7.3)
@ -15305,9 +15119,6 @@ importers:
mocha:
specifier: ^10.2.0
version: 10.7.3
mocha-json-output-reporter:
specifier: ^2.0.1
version: 2.1.0(mocha@10.7.3)(moment@2.30.1)
mocha-multi-reporters:
specifier: ^1.5.1
version: 1.5.1(mocha@10.7.3)
@ -15691,9 +15502,6 @@ importers:
mocha:
specifier: ^10.2.0
version: 10.7.3
mocha-json-output-reporter:
specifier: ^2.0.1
version: 2.1.0(mocha@10.7.3)(moment@2.30.1)
mocha-multi-reporters:
specifier: ^1.5.1
version: 1.5.1(mocha@10.7.3)
@ -15900,9 +15708,6 @@ importers:
mocha:
specifier: ^10.2.0
version: 10.7.3
mocha-json-output-reporter:
specifier: ^2.0.1
version: 2.1.0(mocha@10.7.3)(moment@2.30.1)
mocha-multi-reporters:
specifier: ^1.5.1
version: 1.5.1(mocha@10.7.3)
@ -16121,9 +15926,6 @@ importers:
mocha:
specifier: ^10.2.0
version: 10.7.3
mocha-json-output-reporter:
specifier: ^2.0.1
version: 2.1.0(mocha@10.7.3)(moment@2.30.1)
mocha-multi-reporters:
specifier: ^1.5.1
version: 1.5.1(mocha@10.7.3)
@ -16221,9 +16023,6 @@ importers:
mocha:
specifier: ^10.2.0
version: 10.7.3
mocha-json-output-reporter:
specifier: ^2.0.1
version: 2.1.0(mocha@10.7.3)(moment@2.30.1)
mocha-multi-reporters:
specifier: ^1.5.1
version: 1.5.1(mocha@10.7.3)
@ -16327,9 +16126,6 @@ importers:
mocha:
specifier: ^10.2.0
version: 10.7.3
mocha-json-output-reporter:
specifier: ^2.0.1
version: 2.1.0(mocha@10.7.3)(moment@2.30.1)
mocha-multi-reporters:
specifier: ^1.5.1
version: 1.5.1(mocha@10.7.3)

Просмотреть файл

@ -1,47 +0,0 @@
/*!
* Copyright (c) Microsoft Corporation and contributors. All rights reserved.
* Licensed under the MIT License.
*/
/**
* Parsing script which finds all test reports ending with "junit-report.json"
* in a given directory and prints ADO pipeline errors into the console
*/
var fs = require("fs");
var path = require("path");
var directory = process.argv.slice(2)[0];
const getJunitTestReports = (directory) => {
if (!fs.existsSync(directory)) {
throw new Error(`Directory '${directory}' does not exist`);
}
const files = [];
const filesInDirectory = fs.readdirSync(directory);
for (const file of filesInDirectory) {
const absolute = path.join(directory, file);
if (fs.statSync(absolute).isDirectory()) {
getJunitTestReports(absolute);
} else if (/junit-report.json$/.test(absolute)) {
files.push(absolute);
}
}
return files;
};
const files = getJunitTestReports(directory);
for (const filename of files) {
const content = fs.readFileSync(filename, "utf8");
const json = JSON.parse(content);
const failedTests = json.failures;
if (failedTests.length > 0) {
console.log(
failedTests
.map((e) => `##vso[task.logissue type=error;sourcepath=${e.file}]${e.fullTitle}`)
.join("\n"),
);
}
}

Просмотреть файл

@ -106,7 +106,7 @@
"eslint-plugin-chai-friendly": "^0.7.2",
"good-fences": "^1.2.0",
"mocha": "^10.2.0",
"mocha-json-output-reporter": "^2.1.0",
"mocha-multi-reporters": "^1.5.1",
"moment": "^2.29.4",
"prettier": "~3.0.3",

Просмотреть файл

@ -108,9 +108,6 @@ importers:
mocha:
specifier: ^10.2.0
version: 10.2.0
mocha-json-output-reporter:
specifier: ^2.1.0
version: 2.1.0(mocha@10.2.0)(moment@2.29.4)
mocha-multi-reporters:
specifier: ^1.5.1
version: 1.5.1(mocha@10.2.0)
@ -4150,16 +4147,6 @@ packages:
hasBin: true
dev: true
/mocha-json-output-reporter@2.1.0(mocha@10.2.0)(moment@2.29.4):
resolution: {integrity: sha512-FF2BItlMo8nK9+SgN/WAD01ue7G+qI1Po0U3JCZXQiiyTJ5OV3KcT1mSoZKirjYP73JFZznaaPC6Mp052PF3Vw==}
peerDependencies:
mocha: ^10.0.0
moment: ^2.21.0
dependencies:
mocha: 10.2.0
moment: 2.29.4
dev: true
/mocha-multi-reporters@1.5.1(mocha@10.2.0):
resolution: {integrity: sha512-Yb4QJOaGLIcmB0VY7Wif5AjvLMUFAdV57D2TWEva1Y0kU/3LjKpeRVmlMIfuO1SVbauve459kgtIizADqxMWPg==}
engines: {node: '>=6.0.0'}

Просмотреть файл

@ -40,7 +40,6 @@
"chalk": "^4.1.2",
"easy-table": "^1.1.1",
"mocha": "^10.0.0",
"mocha-json-output-reporter": "^2.0.1",
"mocha-multi-reporters": "^1.5.1",
"moment": "^2.21.0"
},

Просмотреть файл

@ -20,9 +20,6 @@ importers:
mocha:
specifier: ^10.0.0
version: 10.2.0
mocha-json-output-reporter:
specifier: ^2.0.1
version: 2.1.0(mocha@10.2.0)(moment@2.29.4)
mocha-multi-reporters:
specifier: ^1.5.1
version: 1.5.1(mocha@10.2.0)
@ -2315,16 +2312,6 @@ packages:
hasBin: true
dev: true
/mocha-json-output-reporter@2.1.0(mocha@10.2.0)(moment@2.29.4):
resolution: {integrity: sha512-FF2BItlMo8nK9+SgN/WAD01ue7G+qI1Po0U3JCZXQiiyTJ5OV3KcT1mSoZKirjYP73JFZznaaPC6Mp052PF3Vw==}
peerDependencies:
mocha: ^10.0.0
moment: ^2.21.0
dependencies:
mocha: 10.2.0
moment: 2.29.4
dev: false
/mocha-multi-reporters@1.5.1(mocha@10.2.0):
resolution: {integrity: sha512-Yb4QJOaGLIcmB0VY7Wif5AjvLMUFAdV57D2TWEva1Y0kU/3LjKpeRVmlMIfuO1SVbauve459kgtIizADqxMWPg==}
engines: {node: '>=6.0.0'}

Просмотреть файл

@ -24,21 +24,3 @@ steps:
searchFolder: ${{ parameters.buildDirectory }}/${{ testResultDir }}
mergeTestResults: false
condition: and(succeededOrFailed(), eq(variables['startTest'], 'true'))
# Console Log Failed Tests
# The task above this one doesn't cause a build failure if the testResultDir doesn't exist, it just logs a warning.
# This one should behave the same way in that case.
- ${{ each testResultDir in parameters.testResultDirs }}:
- task: Bash@3
displayName: Log Failed Tests in ${{ testResultDir }}
inputs:
targetType: inline
script: |
TEST_RESULTS_PATH=$(pwd)/${{ testResultDir }}
if [ -d $TEST_RESULTS_PATH ]; then
node $(Build.SourcesDirectory)/scripts/report-parser.js ${{ testResultDir }} ;
else
echo "##vso[task.logissue type=warning]'$TEST_RESULTS_PATH' doesn't exist." ;
fi
workingDirectory: ${{ parameters.buildDirectory }}
condition: and(succeededOrFailed(), eq(variables['startTest'], 'true'))

Просмотреть файл

@ -1,9 +1,6 @@
{
"reporterEnabled": "xunit,mocha-json-output-reporter,spec",
"reporterEnabled": "spec,xunit",
"xunitReporterOptions": {
"output": "nyc/junit-report.xml"
},
"mochaJsonOutputReporterReporterOptions": {
"output": "nyc/junit-report.json"
}
}

Просмотреть файл

@ -39,7 +39,7 @@
"eslint": "~8.55.0",
"eslint-config-prettier": "~9.0.0",
"mocha": "^10.2.0",
"mocha-json-output-reporter": "^2.1.0",
"mocha-multi-reporters": "^1.5.1",
"moment": "^2.21.0",
"prettier": "~3.0.3",

Просмотреть файл

@ -32,9 +32,6 @@ importers:
mocha:
specifier: ^10.2.0
version: 10.2.0
mocha-json-output-reporter:
specifier: ^2.1.0
version: 2.1.0(mocha@10.2.0)(moment@2.29.4)
mocha-multi-reporters:
specifier: ^1.5.1
version: 1.5.1(mocha@10.2.0)
@ -492,7 +489,7 @@ packages:
resolution: {integrity: sha512-m7Lllj9n/S6sOkCkRftpM7L24uvmfXQFedlW/4hENcuJH1HHm9u5EgxZb9uVjQSCGrbBWBkOGgcTxNg36r6ywA==}
dependencies:
fast-glob: 3.3.2
minimatch: 9.0.4
minimatch: 9.0.5
mkdirp: 3.0.1
path-browserify: 1.0.1
dev: true
@ -1573,7 +1570,7 @@ packages:
peerDependencies:
eslint: ^7.2.0 || ^8
dependencies:
debug: 4.3.4(supports-color@8.1.1)
debug: 4.3.6(supports-color@8.1.1)
doctrine: 3.0.0
eslint: 8.55.0
eslint-import-resolver-node: 0.3.9
@ -2753,16 +2750,6 @@ packages:
hasBin: true
dev: true
/mocha-json-output-reporter@2.1.0(mocha@10.2.0)(moment@2.29.4):
resolution: {integrity: sha512-FF2BItlMo8nK9+SgN/WAD01ue7G+qI1Po0U3JCZXQiiyTJ5OV3KcT1mSoZKirjYP73JFZznaaPC6Mp052PF3Vw==}
peerDependencies:
mocha: ^10.0.0
moment: ^2.21.0
dependencies:
mocha: 10.2.0
moment: 2.29.4
dev: true
/mocha-multi-reporters@1.5.1(mocha@10.2.0):
resolution: {integrity: sha512-Yb4QJOaGLIcmB0VY7Wif5AjvLMUFAdV57D2TWEva1Y0kU/3LjKpeRVmlMIfuO1SVbauve459kgtIizADqxMWPg==}
engines: {node: '>=6.0.0'}