Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/hapijs/hapi
/ pre
Function
pre
test/handler.js:323–326 ·
view source on GitHub ↗
(request, h)
Source
from the content-addressed store, hash-verified
321
it(
'passes wrapped object'
,
async
() => {
322
323
const
pre = (request, h) => {
324
325
return
h.response(
'Hello'
).code(444);
326
};
327
328
const
server = Hapi.server();
329
server.route({
Callers
nothing calls this directly
Calls
2
code
Method · 0.65
response
Method · 0.65
Tested by
no test coverage detected