strong-tie/inbound-calls
0
1'use strict'2 3const { test } = require('tap')4const boot = require('..')5 6test('calling done twice does not throw error', (t) => {7 t.plan(2)8 9 const app = boot()10 11 app12 .use(twiceDone)13 .ready((err) => {14 t.notOk(err, 'no error')15 })16 17 function twiceDone (s, opts, done) {18 done()19 done()20 t.pass('did not throw')21 }22})23 