@angular/common/http/testing

package

Entry point exports

NgModules

HttpClientTestingModule

Configures HttpClientTestingBackend as the HttpBackend used by HttpClient.

Classes

HttpTestingController

Controller to be injected into tests, that allows for mocking and flushing of requests.

TestRequest

A mock requests that was received and is ready to be answered.

Structures

RequestMatch

Defines a matcher for requests based on URL, method, or both.

© 2010–2020 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v8.angular.io/api/common/http/testing