Initial import with skill sheet working

This commit is contained in:
2024-12-04 00:11:23 +01:00
commit 9050c80ab4
4488 changed files with 671048 additions and 0 deletions

32
node_modules/abstract-level/test/close-test.js generated vendored Normal file
View File

@@ -0,0 +1,32 @@
'use strict'
exports.close = function (test, testCommon) {
test('test close()', function (t) {
const db = testCommon.factory()
db.open(function (err) {
t.ifError(err, 'no open() error')
db.close(function (err) {
t.error(err)
t.end()
})
})
})
test('test close() with promise', function (t) {
const db = testCommon.factory()
db.open(function (err) {
t.ifError(err, 'no open() error')
db.close()
.then(t.end.bind(t))
.catch(t.end.bind(t))
})
})
}
exports.all = function (test, testCommon) {
exports.close(test, testCommon)
}