visionmedia/mocha-cloud — pull request #5 by ForbesLindesay (2012-12-05 23:05:32+00:00)
Title: Support mocha reporters

This pull request changes the API significantly. Instead of handling events on the client and saving info into mochaResults, we serialize all the event information and send it to the reporter as JSON. By using `jssn` it can send circular references fine and also re-construct the prototype chains properly on arrival.

The upshot of the API change is that you can use any of the standard mocha reporters. Here is a demo of browser side tests running with the `spec` reporter:

![Imgur](http://i.imgur.com/mAcdT.png)

Note that the timing at the end is sadly completely erroneous, but could be fixed if the timing was done in the runner and not in the reporter.