@exodus/test
npm
GitHub
Preparing search index...
@exodus/test/mock
fetchRecord
Function fetchRecord
fetchRecord
(
options
?:
any
,
)
:
{
(
input
:
RequestInfo
|
URL
,
init
?:
RequestInit
)
:
Promise
<
Response
>
;
(
input
:
string
|
Request
|
URL
,
init
?:
RequestInit
)
:
Promise
<
Response
>
;
}
Records fetch calls and returns a fetch function
Parameters
Optional
options
:
any
Returns
{
(
input
:
RequestInfo
|
URL
,
init
?:
RequestInit
)
:
Promise
<
Response
>
;
(
input
:
string
|
Request
|
URL
,
init
?:
RequestInit
)
:
Promise
<
Response
>
;
}
(
input
:
RequestInfo
|
URL
,
init
?:
RequestInit
)
:
Promise
<
Response
>
MDN Reference
Parameters
input
:
RequestInfo
|
URL
Optional
init
:
RequestInit
Returns
Promise
<
Response
>
(
input
:
string
|
Request
|
URL
,
init
?:
RequestInit
)
:
Promise
<
Response
>
MDN Reference
Parameters
input
:
string
|
Request
|
URL
Optional
init
:
RequestInit
Returns
Promise
<
Response
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
npm
GitHub
@exodus/test
Loading...
Records fetch calls and returns a fetch function