visionmedia/mocha — pull request #719 by tarruda (2013-01-16 18:17:41+00:00)
Title: Added deferred execution support

This should solve issue #362.

A global 'wait' function is added so the test files can pause mocha processing and generate
tests asynchronously. The function returns a semaphore with a single method 'resume' to continue processing test files.