You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
563 B

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