Search
Preparing search index...
The search index is not available
@graphql-mocks/network-nock
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
@graphql-mocks/network-nock
Index
Functions
nock
Handler
Functions
nock
Handler
nock
Handler
(
graphqlHandler
:
GraphQLHandler
, options
?:
{
checkGraphQLResult
?:
any
;
checkRequest
?:
any
}
)
:
ReplyFn
Parameters
graphqlHandler:
GraphQLHandler
Optional
options:
{
checkGraphQLResult
?:
any
;
checkRequest
?:
any
}
check
GraphQLResult
:
function
check
GraphQLResult
(
result
:
Record
<
string
,
any
>
)
:
void
Parameters
result:
Record
<
string
,
any
>
Returns
void
check
Request
:
function
check
Request
(
request
:
ClientRequest
&
{
headers
:
Record
<
string
,
string
>
}
, body
:
Body
)
:
void
Parameters
request:
ClientRequest
&
{
headers
:
Record
<
string
,
string
>
}
body:
Body
Returns
void
Returns
ReplyFn
Exports
nock
Handler
Generated using
TypeDoc