Exercise
Create a template for the unit test file that is generated when running the crud-service schematic. The file should be placed in the files
folder of the related schematic. It should configure the testing module to use HttpClientTestingModule
and HttpTestingController
. It should also contain one unit test for each method of the service.
You can find the solution to the exercise in the GitHub repository indicated in the Getting started section.