This PR passes the request config and response through the $httpProvider.interceptorsStack, so that angular apps using interceptors will behave as expected when using protractor-http-mock.
I'm only using the response and request methods on each interceptor here; there are more in the interceptor api but these two are the main ones and others can be implemented at a later stage.
This PR passes the request config and response through the
$httpProvider.interceptorsStack
, so that angular apps using interceptors will behave as expected when using protractor-http-mock.I'm only using the
response
andrequest
methods on each interceptor here; there are more in the interceptor api but these two are the main ones and others can be implemented at a later stage.