I am trying to contribute to angularjs and I made a mistake somewhere. On the console output of the karma module tests, I see the following:
Uncaught TypeError: Object
at /Users/me/dev/angular.js/src/ngMock/angular-mocks.js:246
The line to which this error leads me is a line in angular.mock.$ExceptionHandlerProvider.mode, in the case rethrow. So this thing handles the exception, but how do I know where it came from? I know this means that I am expecting a promise in $ q somewhere, but not getting it, but I want to know where in my code this is happening.
source
share