mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-05 02:39:46 +02:00
12 lines
348 B
JavaScript
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)
|
|
}
|