Testing Streams Using the HTTPClient Module

Learn about testing streams using the HTTPClient module.

The HTTPClient module

Observables that are returned from the HTTP client are frequently used in our Angular code. How can we test those streams? Let’s look at the pattern we can use to test those observables. We’ll consider the following method inside RecipeService:

Get hands-on with 1400+ tech skills courses.