* refactor: clean to roadmap content * refactor: move shared helpers into scripts/lib
711 B
711 B
Testing Requests
As for any external dependency, you must mock the HTTP backend so your tests can simulate interaction with a remote server. The @angular/common/http/testing library provides tools to capture requests made by the application, make assertions about them, and mock the responses to emulate your backend's behavior.
Visit the following resources to learn more: