I'm running into an error in my Jasmine unit tests (run by Teaspoon), but the error trace shown only includes Jasmine files:
TypeError: Cannot read property 'off' of undefined
TypeError: Cannot read property 'off' of undefined
at Object.<anonymous> (http://localhost:3000/assets/angular-mocks/angular-mocks.js?body=1:2175:35)
at attemptSync (http://localhost:3000/assets/jasmine/2.2.0.js?body=1:1742:24)
at QueueRunner.run (http://localhost:3000/assets/jasmine/2.2.0.js?body=1:1730:9)
at QueueRunner.execute (http://localhost:3000/assets/jasmine/2.2.0.js?body=1:1715:10)
at Spec.Env.queueRunnerFactory (http://localhost:3000/assets/jasmine/2.2.0.js?body=1:609:35)
at Spec.execute (http://localhost:3000/assets/jasmine/2.2.0.js?body=1:347:10)
at Object.fn (http://localhost:3000/assets/jasmine/2.2.0.js?body=1:2060:43)
at attemptAsync (http://localhost:3000/assets/jasmine/2.2.0.js?body=1:1772:24)
at QueueRunner.run (http://localhost:3000/assets/jasmine/2.2.0.js?body=1:1727:9)
at QueueRunner.execute (http://localhost:3000/assets/jasmine/2.2.0.js?body=1:1715:10)
How can I view the expanded/full error trace to view which line in my spec files is causing the error?
Teaspoon does not influence the stack trace provided by Jasmine. This looks like an issue with angular-mocks.js, and your stack trace may not include your test file due to some asynchrony.
I'm running into an error in my Jasmine unit tests (run by Teaspoon), but the error trace shown only includes Jasmine files:
How can I view the expanded/full error trace to view which line in my spec files is causing the error?