Http.get, retryWhen, and returnValues not working


#1

Ok I have a place in my Ionic app that makes an http get request and maps the result to another function followed by a retryWhen call. I can’t seem to unit test it but I don’t know why. I am doing a spyOn call then using and.returnValues to return two bad responses then a good response. When I console.log the responses being received from the call I only see the first bad response being returned over and over and furthermore the Jasmine call to expect at the end claims that Http.get was only called one time. Anyone have any ideas?