You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
How to reproduce: Include angular and angular-mocks on a page and run this code. Error is printed to the console even though the promise chain is configured to recover from the error.
This behavior can be corrected by wrapping a try...catch around the call to callback around line 1124 of angular-mocks, but that breaks 3 $compile tests and I'm not sure what to do with the caught error.
In its current state, unit testing promise chains must be done with ngMockE2E.