Mocha async timeout precedence between global configuration and per-test overrides in ESM modules
Timeout Configuration Precedence Mocha 8+ introduced ESM module support that altered how asynchronous tests handle unhandled rejections and timeout enforcement. The framework applies a default 2000 ms timeout globally, while allowing per-suite and per-test overrides via this.timeout() or the --timeout CLI flag. The slow() threshold (default 75% of timeout) i