1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-05 02:39:46 +02:00
Oinktube/node_modules/abstract-leveldown/test/leveldown-test.js
2022-07-15 11:08:01 -03:00

12 lines
348 B
JavaScript

module.exports = function (test, testCommon) {
test('setUp common', testCommon.setUp)
test('test database open method exists', function (t) {
var db = testCommon.factory()
t.ok(db, 'database object returned')
t.ok(typeof db.open === 'function', 'open() function exists')
t.end()
})
test('tearDown', testCommon.tearDown)
}