Methods
getFakeHttpResponse
- getFakeHttpResponse(url: string, requestInit: RequestInit, expectedHttpStatusCode: number[], context: IRequestContext): Promise<Response>
-
Parameters
-
url: string
-
requestInit: RequestInit
-
expectedHttpStatusCode: number[]
-
Returns Promise<Response>