angular/packages/common
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
..
http fix(common): include query parameters for open HTTP requests in verify (#44917) 2022-02-01 21:41:43 +00:00
locales build: update to cldr@39 (#43820) 2021-10-13 16:49:24 +00:00
src feat(common): support NgModule as an input to the NgComponentOutlet (#44815) 2022-02-01 20:19:41 +00:00
test feat(common): support NgModule as an input to the NgComponentOutlet (#44815) 2022-02-01 20:19:41 +00:00
testing test(common): change fallback default URL in MockPlatformLocation (#44211) 2021-11-24 18:55:33 +00:00
upgrade build: enable useUnknownInCatchVariables (#44679) 2022-02-01 18:17:29 +00:00
BUILD.bazel ci: add golden files for runtime error codes (#44677) 2022-01-12 20:42:06 +00:00
index.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
package.json refactor(compiler-cli): update peerDependencies to require rxjs ^7.4.0 (#43748) 2021-10-06 15:57:59 -07:00
PACKAGE.md docs: add api doc to sub-packages (#33801) 2019-11-20 14:48:50 -08:00
public_api.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00