Open r-schmidtke opened 7 years ago
Will be adding --reporter-options
to upcoming version.
console.log("something")
will break the syntax of the output files (xunit-reporter for example)
Mocha's reporters all write (in some form or another) to process.stdout
. From Abao, if your hookfiles wrote to process.stderr
(e.g., console.warn
or console.error
), no mixing would occur.
Take a look at the debug module; read about both basic and advanced usage.
It would be nice if one could have small log statements in the hookfiles that are compatible with the selected reporter.
console.log("something")
will break the syntax of the output files (xunit-reporter for example)