angular/protractor — pull request #547 by DavidMikeSimon (2014-02-24 22:24:31+00:00)
Title: Uull stack trace on expectation failures

It's very convenient to see exactly which line in my spec a failure came from, but protractor's jasmine output normally doesn't include that information. This PR adds that information in by recording the stack at the time of the original call to expect().

There is probably be a better way to do this, it's pretty hacky as-is. I'm mostly posting this PR as a way of soliciting suggestions for the right way to solve the problem.