填写这份《一分钟调查》,帮我们(开发组)做得更好!去填写Home

@angular/common/http/testing

Supplies a testing module for the Angular HTTP subsystem.

入口点的导出

模块

HttpClientTestingModule

Configures HttpClientTestingBackend as the HttpBackend used by HttpClient.

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.

结构

RequestMatch

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