metaskills/mocha-phantomjs — pull request #5 by andreypopp (2012-09-18 09:04:55+00:00)
Title: Wait for mocha.phantomjs.run() call

This way we can defer running tests so requirejs based projects can be tested
too. This commit introduces backward incompatibility — basically you need this to run your tests:
```
if window.mochaPhantomJS
mocha.phantomjs.run()
else
mocha.run()
```