angular-cn/packages/common/http/testing
cexbrayat 115b7e42c6 fix(common): http/testing expectOne lists the received requests if no matches (#27005)
Fixes #18013

Previously it was hard to debug an `expectOne` if the request had no match, as the error message was:

    Expected one matching request for criteria "Match URL: /some-url?query=hello", found none.

This commit adds a bit more info to the error, by listing the actual requests received:

    Expected one matching request for criteria "Match URL: /some-url?query=hello", found none. Requests received are: POST /some-url?query=world.

PR Close #27005
2020-01-31 13:13:37 -08:00
..
src fix(common): http/testing expectOne lists the received requests if no matches (#27005) 2020-01-31 13:13:37 -08:00
test fix(common): http/testing expectOne lists the received requests if no matches (#27005) 2020-01-31 13:13:37 -08:00
BUILD.bazel build: turn off dts bundling for packages that still are not supported (#29128) 2019-03-07 10:47:20 -08:00
PACKAGE.md docs: add api doc to sub-packages (#33801) 2019-11-20 14:48:50 -08:00
index.ts feat(common): new HttpClient API 2017-07-07 12:09:32 -07:00
package.json feat: update the package output of build.sh to APF v6 (#22808) 2018-03-18 09:33:51 -07:00
public_api.ts feat(common): new HttpClient API 2017-07-07 12:09:32 -07:00