angular/packages/common/http
JoostK a2cbffc06f fix(common): include query parameters for open HTTP requests in verify (#44917)
When `HttpTestingController.verify` is used to verify that there are not open,
unexpected requests it would throw an error with the method and URL of all pending
requests, excluding the query parameters. This is confusing, as e.g. `expectOne`
matches a URL including its query parameters and `expectOne` does include the
query parameters when it reports when no request could be matched.

This commit changes the error that is reported by `verify` to include the query
parameters.

Closes #19974

PR Close #44917
2022-02-01 21:41:43 +00:00
..
src feat(http): add has() method to HttpContext class (#43887) 2021-11-04 18:52:18 +00:00
test build: switch devmode output to es2015 (#44505) 2022-01-05 23:20:20 +00:00
testing fix(common): include query parameters for open HTTP requests in verify (#44917) 2022-02-01 21:41:43 +00:00
BUILD.bazel build: turn off dts bundling for packages that still are not supported (#29128) 2019-03-07 10:47:20 -08:00
index.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
package.json build: simplify package.jsons for all of our packages (#36944) 2020-05-06 13:54:26 -07:00
PACKAGE.md docs: add package doc files (#26047) 2018-10-05 15:42:14 -07:00
public_api.ts fix(common): temporarily re-export and deprecate XhrFactory (#41393) 2021-04-01 11:26:11 -07:00