MCPcopy
hub / github.com/loopbackio/loopback-next / givenRequest

Function givenRequest

packages/rest/src/__tests__/unit/coercion/utils.ts:33–35  ·  view source on GitHub ↗
(options?: ShotRequestOptions)

Source from the content-addressed store, hash-verified

31}
32
33function givenRequest(options?: ShotRequestOptions): Request {
34 return stubExpressContext(options).request;
35}
36
37function givenResolvedRoute(
38 spec: OperationObject,

Callers 1

testCoercionFunction · 0.70

Calls 1

stubExpressContextFunction · 0.90

Tested by

no test coverage detected