Mocha --exit flag scope and detached handle handling
Mocha --exit flag scope for ephemeral CI test runs The goal is to stop the Node.js process immediately after a Mocha suite finishes so short-lived CI containers do not accrue idle compute time for low-traffic workloads. The --exit flag forces process termination after results are reported, but it is a global boolean with no per-file, per-suite, or per-hook s