angular/packages/common/http/test
Alan Agius 9ddb003b6c fix(http): resolve withRequestsMadeViaParent behavior with withFetch (#55652)
This commit addresses dependency injection defects when using the `withFetch` API. Formerly, utilizing `withFetch` led to the automatic setting of `HttpBackend` to `FetchBackend`, which proved problematic in certain scenarios. Notably, conflicts arose when integrating `withRequestsMadeViaParent` and manually overriding tokens, as observed in instances like `InMemoryWebApiModule`.

PR Close #55652
2024-05-06 12:29:53 -07:00
..
BUILD.bazel build(http): Mark the http tests as flaky because of one particular transferCache test. (#55255) 2024-04-11 20:50:19 +02:00
client_spec.ts refactor: migrate common to prettier formatting (#54150) 2024-01-30 16:08:07 +00:00
context_spec.ts refactor: migrate common to prettier formatting (#54150) 2024-01-30 16:08:07 +00:00
fetch_spec.ts refactor: fix a number of typos throughout the codebase (#55018) 2024-03-27 10:54:31 -07:00
headers_spec.ts refactor: migrate common to prettier formatting (#54150) 2024-01-30 16:08:07 +00:00
jsonp_mock.ts refactor: migrate common to prettier formatting (#54150) 2024-01-30 16:08:07 +00:00
jsonp_spec.ts refactor: migrate common to prettier formatting (#54150) 2024-01-30 16:08:07 +00:00
module_spec.ts refactor: migrate common to prettier formatting (#54150) 2024-01-30 16:08:07 +00:00
params_spec.ts test(core): clean up unnecessary nesting in old tests (#52239) 2023-10-19 09:26:15 -07:00
provider_spec.ts fix(http): resolve withRequestsMadeViaParent behavior with withFetch (#55652) 2024-05-06 12:29:53 -07:00
request_spec.ts fix(http): include transferCache when cloning HttpRequest (#54939) 2024-03-21 22:13:42 -07:00
response_spec.ts refactor: migrate common to prettier formatting (#54150) 2024-01-30 16:08:07 +00:00
transfer_cache_spec.ts feat(http): allow caching requests with different origins between server and client (#55274) 2024-04-22 11:26:09 -07:00
xhr_mock.ts refactor: migrate common to prettier formatting (#54150) 2024-01-30 16:08:07 +00:00
xhr_spec.ts refactor: migrate common to prettier formatting (#54150) 2024-01-30 16:08:07 +00:00
xsrf_spec.ts refactor: migrate common to prettier formatting (#54150) 2024-01-30 16:08:07 +00:00