download
raw
349 Bytes
'use strict'
const { test } = require('tap')
const boot = require('..')
test('calling done twice does not throw error', (t) => {
t.plan(2)
const app = boot()
app
.use(twiceDone)
.ready((err) => {
t.notOk(err, 'no error')
})
function twiceDone (s, opts, done) {
done()
done()
t.pass('did not throw')
}
})

Xet Storage Details

Size:
349 Bytes
·
Xet hash:
91e5e6f34508c1dddc284297c5b7811512927043b3d33e9d476a3f6d81cfde34

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.