Skip to content

Commit

Permalink
Set supports.status to true
Browse files Browse the repository at this point in the history
  • Loading branch information
vweevers committed Oct 2, 2021
1 parent d0b6a14 commit e2e2c34
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/levelup.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ function LevelUP (db, options, callback) {

// Create manifest based on deferred-leveldown's
this.supports = supports(this.db.supports, {
status: false,
status: true,
deferredOpen: true,
openCallback: true,
promises: true,
Expand Down
4 changes: 2 additions & 2 deletions test/manifest-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ const suite = require('level-supports/test')
module.exports = function (test, testCommon) {
suite(test, testCommon)

// TODO (once manifest lands in other modules): add integration tests.
// TODO: add integration tests.
test('manifest has expected properties', function (t) {
const db = testCommon.factory()

t.is(db.supports.status, false)
t.is(db.supports.status, true)
t.is(db.supports.deferredOpen, true)
t.is(db.supports.openCallback, true)
t.is(db.supports.promises, true)
Expand Down

0 comments on commit e2e2c34

Please sign in to comment.