Fixes bug in which a simulated HTTP error did NOT honor the prescribed latency delay.
New makeResponseDelay() function cures that.
Added tests for this.
Library no longer uses RxJS delay() which may make userland tests easier because Angular TestBed "hates" RxJS delay() (it uses interval()).
Also closes #180.
When this PR is merged, can publish the new version to NPM as release 0.5.4.
Fixes bug in which a simulated HTTP error did NOT honor the prescribed latency delay. New
makeResponseDelay()
function cures that. Added tests for this.Library no longer uses RxJS
delay()
which may make userland tests easier because Angular TestBed "hates" RxJSdelay()
(it usesinterval()
).Also closes #180.
When this PR is merged, can publish the new version to NPM as release 0.5.4.