How to log mochaOpts in the test? #3605
Labels
stale
this has been inactive for a while...
status: needs mcve
a defect report needing more information; subject to closing due to inactivity
status: waiting for author
waiting on response from OP - more information needed
type: question
support question
Prerequisites
faq
labelnode node_modules/.bin/mocha --version
(Local) andmocha --version
(Global). We recommend avoiding the use of globally installed Mocha.Description
How do I print mochaOpts.retries in the test? Currently, tests are triggered from a 3rd party service and I'm not sure whether the tests are retried or not. So I wanna add a console log to figure out the how the tests are configured. Can someone help me here?
Steps to Reproduce
Versions
mocha --version
andnode node_modules/.bin/mocha --version
: 5.2.0node --version
: 10.11.0The text was updated successfully, but these errors were encountered: