visionmedia/mocha — Issue #174: Runner/suite accessible within tests?
Author: quangv
Created: 2011-12-23 04:06:34+00:00
State: open

I was wondering if the current Runner (and the current suite object) is accessible from within the tests? or is the tests like sandboxed?

Reason being, I wanted to throw custom mocha errors (AssertionErrors) but have it be pretty-printed by the current reporter...

Thanks,
Quang