fix: Resolve TypeScript errors
Signed-off-by: Hermes Agent <hermes@nosuchhost>
This commit is contained in:
13
client/node_modules/level-packager/abstract/error-if-exists-test.js
generated
vendored
Normal file
13
client/node_modules/level-packager/abstract/error-if-exists-test.js
generated
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
'use strict'
|
||||
|
||||
var location = require('./location')
|
||||
|
||||
module.exports = function (test, level) {
|
||||
test('test db open and use, level(location, options, cb) force error', function (t) {
|
||||
level(location, { errorIfExists: true }, function (err, db) {
|
||||
t.ok(err, 'got error opening existing db')
|
||||
t.notOk(db, 'no db')
|
||||
t.end()
|
||||
})
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user