visionmedia/mocha — pull request #288 by gfxmonk (2012-02-25 01:28:24+00:00)
Title: add optional "additional_context" field & cleaned up logic in error formatting

"additional_context" field added to the test for reporting e.g log output

Logic cleanup is for when stack does not actually contain error message, which otherwise results in nonsense reporting. Apologies for putting two things in the one commit, but I only did the cleanup after adding the new field.