Function: newJsonFetchResponse¶
testing.newJsonFetchResponse
▸ newJsonFetchResponse<T
>(body
, status?
, headers?
): FetchResponse
<T
>
Type parameters¶
Name |
---|
T |
Parameters¶
Name | Type | Default value |
---|---|---|
body |
T |
undefined |
status |
number |
200 |
headers? |
Object |
undefined |