domenic/mocha-as-promised — pull request #4 by wmertens (2012-12-05 19:44:12+00:00)
Title: Always give Mocha Error class errors

If you don't do this and a promise returns a regular error, then Mocha will say `Error: done() invoked with non-Error: [object Object]` instead of the actual message.