mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00: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 |
||
|---|---|---|
| .. | ||
| src | ||
| test | ||
| testing | ||
| BUILD.bazel | ||
| index.ts | ||
| package.json | ||
| public_api.ts | ||
| rollup.config.js | ||
| tsconfig-build.json | ||