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.
Could we get a description about how to properly test routes?
I'm getting hit by the issue in #2717 (default routes and unexpected GET requests) but the discussion there is mostly unhelpful.
If it's intended that $route fetch the default route every time it's injected (which seems bizarre), how do I write clean tests? Is the Right Way to pollute the tests with $templateCache or $httpBackend.expect noise? or is there a better way?