mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-12 13:13:45 +01:00
9 lines
273 B
JavaScript
9 lines
273 B
JavaScript
let reporterOptions = {}
|
|
if (process.env.CI && process.env.JUNIT_ROOT_SUITE_NAME) {
|
|
reporterOptions = {
|
|
reporter: require.resolve('mocha-multi-reporters'),
|
|
'reporter-options': ['configFile=./test/mocha-multi-reporters.js'],
|
|
}
|
|
}
|
|
module.exports = reporterOptions
|