CoolFace
Apppublic

strong-tie/inbound-calls

sourceHugging Faceupdated 2y agoView on Hugging Face
0likes
no-done.test.js19 linesDownload Raw Back to test
1'use strict'2 3const { test } = require('tap')4const boot = require('..')5 6test('not taking done does not throw error.', (t) => {7  t.plan(2)8 9  const app = boot()10 11  app.use(noDone).ready((err) => {12    t.notOk(err, 'no error')13  })14 15  function noDone (s, opts) {16    t.pass('did not throw')17  }18})19