UNPKG

@loopback/docs

Version:

Documentation files rendered at [https://loopback.io](https://loopback.io)

63 lines (33 loc) 1.06 kB
--- lang: en title: 'API docs: testlab.stubexpresscontext' keywords: LoopBack 4.0, LoopBack 4, Node.js, TypeScript, OpenAPI sidebar: lb4_sidebar editurl: https://github.com/loopbackio/loopback-next/tree/master/packages/testlab permalink: /doc/en/lb4/apidocs.testlab.stubexpresscontext.html --- <!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@loopback/testlab](./testlab.md) &gt; [stubExpressContext](./testlab.stubexpresscontext.md) ## stubExpressContext() function **Signature:** ```typescript export declare function stubExpressContext(requestOptions?: ShotRequestOptions): ExpressContextStub; ``` ## Parameters <table><thead><tr><th> Parameter </th><th> Type </th><th> Description </th></tr></thead> <tbody><tr><td markdown="1"> requestOptions </td><td markdown="1"> ShotRequestOptions </td><td markdown="1"> _(Optional)_ </td></tr> </tbody></table> **Returns:** [ExpressContextStub](./testlab.expresscontextstub.md)