mantoni/phantomic — pull request #5 by andreypopp (2014-03-11 22:22:19+00:00)
Title: Mangle stacktrace to exclude mocha and browserify frames

Mangle stacktrace to exclude mocha and browserify frames, also make source filesnames relative to cwd. This enables nice stacktraces.

To be honest, I don't think this is the right place for this code but it makes everything so nice so I'd just open PR and let the discussion happen. Probably we can include a generic mechanism for excluding stack frames from stack traces in phantomic and let mochify orchestrate that.