visionmedia/mocha — pull request #532 by hermanjunge (2012-08-05 07:16:59+00:00)
Title: Fix issue on browser version: Don't display empty suites on passes/failu...

* Don't display empty suites on passes/failures.

* From this task assignment:

>"mocha also has a feature where you click the 'passes' or 'failures' links in the right-hand corner for the browser version and it toggles display of either, but currently it's a little broken since it still displays empty suites".

* To test, just load in your broswer `/test/browser/index.html` and click the links `passes` and `failures`, one after another, to change view, and a link twice to go/return to specific view/general view.