MCPcopy
hub / github.com/fastify/fastify / done

Function done

test/internals/hook-runner.test.js:35–39  ·  test/internals/hook-runner.test.js::done
(err, a, b)

Source from the content-addressed store, hash-verified

33 }
34
35 function done (err, a, b) {
36 t.assert.ifError(err)
37 t.assert.strictEqual(a, class="st">'a')
38 t.assert.strictEqual(b, class="st">'b')
39 }
40})
41
42test(class="st">'hookRunner - In case of error should skip to done', t => {

Callers 15

reply.test.jsFile · 0.70
logger.test.jsFile · 0.70
checkIdFunction · 0.70
fn1Function · 0.70
fn2Function · 0.70
fn3Function · 0.70
server.test.jsFile · 0.70
fastifyFunction · 0.50
runHooksFunction · 0.50
addHookFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected