fix: Resolve TypeScript errors
Signed-off-by: Hermes Agent <hermes@nosuchhost>
This commit is contained in:
21
client/node_modules/abstract-leveldown/test/manifest-test.js
generated
vendored
Normal file
21
client/node_modules/abstract-leveldown/test/manifest-test.js
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
var suite = require('level-supports/test')
|
||||
|
||||
module.exports = function (test, testCommon) {
|
||||
test('setUp common', testCommon.setUp)
|
||||
|
||||
suite(test, testCommon)
|
||||
|
||||
test('manifest has status', function (t) {
|
||||
var db = testCommon.factory()
|
||||
t.is(db.supports.status, true)
|
||||
|
||||
// The semantics of not opening or closing a new db are unclear
|
||||
// atm, so let's open it before closing, like every other test.
|
||||
db.open(function (err) {
|
||||
t.ifError(err, 'no open error')
|
||||
db.close(t.end.bind(t))
|
||||
})
|
||||
})
|
||||
|
||||
test('tearDown', testCommon.tearDown)
|
||||
}
|
||||
Reference in New Issue
Block a user