searls / jasmine-given

Like rspec-given, but for jasmine
testdouble.com
MIT License
178 stars 26 forks source link

Suppress Waterfall.flow stack trace #26

Open tandrewnichols opened 10 years ago

tandrewnichols commented 10 years ago

Because it's async, every new test adds a level to the stack, so if test 57 fails, you see A LOT of "Waterfall.flow" in the stack trace. With multiple errors, it becomes really hard to find the actual error.

searls commented 10 years ago

:+1: I think  we need to unrecursify this.

On Fri, Feb 28, 2014 at 5:04 PM, Andrew Nichols notifications@github.com wrote:

Because it's async, every new test adds a level to the stack, so if test 57 fails, you see A LOT of "Waterfall.flow" in the stack trace. With multiple errors, it becomes really hard to find the actual error.

Reply to this email directly or view it on GitHub: https://github.com/searls/jasmine-given/issues/26

tandrewnichols commented 10 years ago

Perhaps. There's also this, which could make handling long stack traces easier: https://github.com/felixge/node-stack-trace

searls commented 10 years ago

99% of given use isn't on node though

On Sun, Mar 9, 2014 at 2:41 PM, Andrew Nichols notifications@github.com wrote:

Perhaps. There's also this, which could make handling long stack traces easier: https://github.com/felixge/node-stack-trace

Reply to this email directly or view it on GitHub: https://github.com/searls/jasmine-given/issues/26#issuecomment-37134537

tandrewnichols commented 10 years ago

Ah, I see. Unrecursify it is then.