Dorian 0d073fa89e Add comprehensive installation and setup documentation
- Add GETTING_STARTED.md with quick start guide and development modes
- Add INSTALL.sh automated installation script
- Add INSTALLATION_CHECKLIST.md, INSTALLATION_SUCCESS.md, and INSTALLATION_SUMMARY.md
- Add QUICK_REFERENCE.md for common commands
- Add SETUP_GUIDE.md with detailed setup instructions
- Update README.md with improved project overview
- Add did-wallet app dependencies and node_modules
2026-01-27 17:18:21 +00:00

33 lines
625 B
JavaScript

'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)
}