Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Dec 1, 2024. It is now read-only.

Commit e2e2c34

Browse files
committed
Set supports.status to true
1 parent d0b6a14 commit e2e2c34

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/levelup.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ function LevelUP (db, options, callback) {
6666

6767
// Create manifest based on deferred-leveldown's
6868
this.supports = supports(this.db.supports, {
69-
status: false,
69+
status: true,
7070
deferredOpen: true,
7171
openCallback: true,
7272
promises: true,

test/manifest-test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ const suite = require('level-supports/test')
33
module.exports = function (test, testCommon) {
44
suite(test, testCommon)
55

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

10-
t.is(db.supports.status, false)
10+
t.is(db.supports.status, true)
1111
t.is(db.supports.deferredOpen, true)
1212
t.is(db.supports.openCallback, true)
1313
t.is(db.supports.promises, true)

0 commit comments

Comments
 (0)