HttpClientTestingModule

Inject HttpTestingController to expect and flush requests in your tests.

Configures HttpClientTestingBackend as the HttpBackend used by HttpClient.

Related concepts

HttpClientTestingModule — Structure map

Clickable & Draggable!

HttpClientTestingModule — Related pages: