Mocking Http dependency in Angular
It is very common to have services that make use of the HttpClient service to make back-end calls. For example, you might have a service that makes a request to a back-end API and return results that you would like to display on the browser.
As expla...
aliasger.dev5 min read