visionmedia/mocha — pull request #842 by nbrownus (2013-05-10 00:34:32+00:00)
Title: JSON stringifying non error objects passed to done

When passing an object to done() within a test a rather unhelpful error is printed. This makes an attempt to give the printed error more information rather than just `Error: done() invoked with non-Error: [object Object]`.