Builds a mock HttpTransport for tests. Pass it to
createEsi({ transport }); add routes with respond(); read what the
application sent from sent.
A request no route answers rejects with an EsiConfigurationError carrying
the code CONFIGURATION_ERROR and naming the request, which the pipeline
raises unchanged and without retrying, and is listed under unrouted.
Builds a mock
HttpTransportfor tests. Pass it tocreateEsi({ transport }); add routes withrespond(); read what the application sent fromsent.A request no route answers rejects with an
EsiConfigurationErrorcarrying the codeCONFIGURATION_ERRORand naming the request, which the pipeline raises unchanged and without retrying, and is listed underunrouted.