Page Contents

Home > @loopback/testlab > stubHandlerContext

stubHandlerContext() function

Signature:

export declare function stubHandlerContext(requestOptions?: ShotRequestOptions): HandlerContextStub;

Parameters

Parameter Type Description
requestOptions ShotRequestOptions (Optional)

Returns:

HandlerContextStub