Page Contents

Home > @loopback/testlab > stubExpressContext

stubExpressContext() function

Signature:

export declare function stubExpressContext(requestOptions?: ShotRequestOptions): ExpressContextStub;

Parameters

Parameter Type Description
requestOptions ShotRequestOptions (Optional)

Returns:

ExpressContextStub