#Mocking - hiting catch from HttpService.get()
8 messages · Page 1 of 1 (latest)
Instead of using of, use throwError() from rxjs to cause an exception and the lastValueFrom to move to the .catch
it is marked as deprecated, is there another method?