mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
637ae135c5
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