Closed mockdeep closed 10 years ago
Unfortunately this is pretty common both with jasmine itself and with phantomjs. Not a lot that we can do about it. (if it's not obvious, I'd start by looking to references to field
which might be undefined
for starters.)
To be honest, I do all of my debugging in the browser. And when I run into a bug that only crops up headlessly, I just bisect my tests and source (comment out half of it at a time) to locate the apparent issue.
I'm getting a huge stack trace on test errors that doesn't lead anywhere back to my code. How do I locate the spec that caused this failure?