mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 09:09:36 +02:00
* [monorepo] refactor retries in Jenkins to step level Change the junit reports to use step specific file names. The [hash] template option was neat in getting unique file names, but results in duplicate test reports on retry. * [patches] add support for .cjs config files for mocha-multi-reporters GitOrigin-RevId: 3a749441470b5ba633e71319589606cfbe860952
11 lines
392 B
JavaScript
11 lines
392 B
JavaScript
module.exports = {
|
|
reporterEnabled: 'spec, mocha-junit-reporter',
|
|
mochaJunitReporterReporterOptions: {
|
|
mochaFile: `data/reports/junit-mocha-${process.env.MOCHA_ROOT_SUITE_NAME}-${process.env.MODULE_NAME}.xml`,
|
|
includePending: true,
|
|
jenkinsMode: true,
|
|
jenkinsClassnamePrefix: process.env.MOCHA_ROOT_SUITE_NAME,
|
|
rootSuiteTitle: process.env.MOCHA_ROOT_SUITE_NAME,
|
|
},
|
|
}
|