Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
33
function
givenRequest(options?: ShotRequestOptions): Request {
34
return
stubExpressContext(options).request;
35
}
36
37
function
givenResolvedRoute(
38
spec: OperationObject,
Callers
1
testCoercion
Function · 0.70
Calls
1
stubExpressContext
Function · 0.90
Tested by
no test coverage detected