mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
Make the `MockResponse` class used in tests behave more similarly to how real responses work by making the following improvements: - Use an empty `statusText` (`''`) when provided, instead of the default `'OK'` value. This allows better representing opaque responses. - Preserve more properties (`redirected`, `type`, `url`) when cloning a `MockResponse`. PR Close #44723 |
||
|---|---|---|
| .. | ||
| BUILD.bazel | ||
| cache.ts | ||
| clients.ts | ||
| events.ts | ||
| fetch.ts | ||
| mock.ts | ||
| scope.ts | ||
| utils.ts | ||