MockTransport
Defined in: packages/gateway/src/testing/mock-transport.ts:46
A transport that replays a script, with the requests it has received so far.
MockTransport(
request):Promise<Response>
Defined in: packages/gateway/src/testing/mock-transport.ts:47
A transport that replays a script, with the requests it has received so far.
Parameters
Section titled “Parameters”request
Section titled “request”Request
Returns
Section titled “Returns”Promise<Response>
Properties
Section titled “Properties”requests
Section titled “requests”
readonlyrequests: readonlyRecordedRequest[]
Defined in: packages/gateway/src/testing/mock-transport.ts:49
Every request received so far, in order.
These docs are licensedCC BY 4.0. Thelicence text is in the repository.