MCPcopy Create free account
hub / github.com/fastify/fastify / innerPlugin

Function innerPlugin

test/plugin.1.test.js:185–188  ·  view source on GitHub ↗
(instance, opts, done)

Source from the content-addressed store, hash-verified

183 }
184
185 function innerPlugin (instance, opts, done) {
186 instance.decorate('test2', 'second')
187 done()
188 }
189
190 fastify.register(fp(fastifyPlugin))
191

Callers

nothing calls this directly

Calls 1

doneFunction · 0.50

Tested by

no test coverage detected