mirror of
https://github.com/angular/angular.git
synced 2026-11-23 07:05:14 -05:00
The example unit test should test the service when the backend application is not available, by providing a mock error response. Although, the test will fail as the mock response from the server is valid (it does not simulate a error response, but valid response with an error status 404). This merge request fix this issue by replacing MockResponse with MockError This PR resolves 19499 issue PR Close #25306