MCPcopy
hub / github.com/fastify/fastify / pluginA

Function pluginA

test/plugin.4.test.js:292–295  ·  view source on GitHub ↗
(fastify, opts, done)

Source from the content-addressed store, hash-verified

290 const fastify = Fastify()
291
292 function pluginA (fastify, opts, done) {
293 t.assert.ok(fastify.hasPlugin('plugin-A'))
294 done()
295 }
296 pluginA[Symbol.for('fastify.display-name')] = 'plugin-A'
297 fastify.register(pluginA)
298

Callers

nothing calls this directly

Calls 2

hasPluginMethod · 0.80
doneFunction · 0.50

Tested by

no test coverage detected