Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
test('cleanup', function (t) {
leveljs.destroy(name, function () {})
t.end()
})
}
DB.destroy = function destroy(db, callback) {
Level.destroy(db, callback);
};
destroy: function(cb) {
require('level-js').destroy('drafts', cb)
},