Closed rikard1979 closed 9 years ago
I miss the option to passThrough.
Let say I have configured the browser to use the mocked $httpBackend and still want browser.get to fetch the real resource, but then having all rest-calls made by that path mocked.
I assumed I could then say
backend.whenGET(/^\/#\/clientPath.*/).passThrough(); backend.whenGET(/.*\/my-rest-api\/context.*/).respond(200, {});
I am looking this :)
passThrough is availlable in version 1.1.0 :)
I miss the option to passThrough.
Let say I have configured the browser to use the mocked $httpBackend and still want browser.get to fetch the real resource, but then having all rest-calls made by that path mocked.
I assumed I could then say