@angular/common/http/testing
Supplies a testing module for the Angular HTTP subsystem.
入口点的导出
模块
HttpClientTestingModule | Configures |
类
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. |