Technical requirements
This chapter assumes that you have a basic understanding of RxJS. Angular is where we will be testing observables. This chapter assumes that you have a basic understanding of unit testing in Angular using Jasmine: https://angular.io/guide/testing.
The unit test for the saveRecipe
method, which is available in the RecipesService
class, will be available in recipes.service.spec
.
The source code for this chapter is available at https://github.com/PacktPublishing/Reactive-Patterns-with-RxJS-7-in-Angular-Applications.