44dee7592a
GitOrigin-RevId: af607dfdeac8f91f63db294a964ade7622225932
14 lines
292 B
JavaScript
14 lines
292 B
JavaScript
let reporterOptions = {}
|
|
if (process.env.CI) {
|
|
reporterOptions = {
|
|
reporter: require.resolve('mocha-multi-reporters'),
|
|
'reporter-options': ['configFile=./test/mocha-multi-reporters.cjs'],
|
|
}
|
|
}
|
|
const all = {
|
|
require: 'test/setup.js',
|
|
...reporterOptions,
|
|
}
|
|
|
|
module.exports = all
|