Limits: Mocha's --delay Option and Async/Await Execution
Goal Determine how Mocha’s --delay flag behaves when used with async/await tests, and whether the delay can reliably suppress notification noise in alerting scenarios. Constraints Mocha 9.x+ supports --delay , which postpones all test execution until this.test.parent.suite.delay() or delay(done) is called. The flag does not affect hooks unless they are neste