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.
$httpBackend.expectGET() accepts all GET requests when it's url parameter is undefined. IMHO it should fail.
I have a test where the URL parameter for expectGET() is retrieved from an array. After I renamed the array variable the tests continued to pass, when I was expecting them to fail.
$httpBackend.expextGET(void 0).respond(response);
issue GET
$httpBackend.flush();