Documents / @faasjs/browser / MockHandler
Type Alias: MockHandler()
MockHandler: (
action
,params
,options
) =>Promise
<Response
<any
> |ResponseProps
> |Promise
<void
>
Parameters
action
string
params
Record
<string
, any
> | undefined
options
Returns
Promise
<Response
<any
> | ResponseProps
> | Promise
<void
>