Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/fastify/fastify
/ echoBody
Function
echoBody
test/schema-serialization.test.js:7–7 ·
view source on GitHub ↗
(req, reply)
Source
from the content-addressed store, hash-verified
5
const
{ waitForCb } = require(
'./toolkit'
)
6
7
const
echoBody = (req, reply) => { reply.send(req.body) }
8
9
test(
'basic test'
, (t, testDone) => {
10
t.plan(3)
Callers
nothing calls this directly
Calls
1
send
Method · 0.80
Tested by
no test coverage detected