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.
13 lines
348 B
13 lines
348 B
4 years ago
|
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)
|
||
|
}
|