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

Commit b9d58fb

Browse files
committed
Support clear() (Level/community#79) (closes #136)
1 parent 19a253c commit b9d58fb

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"prepublishOnly": "npm run dependency-check"
2020
},
2121
"dependencies": {
22-
"abstract-leveldown": "~6.0.3",
22+
"abstract-leveldown": "~6.1.1",
2323
"napi-macros": "~2.0.0",
2424
"node-gyp-build": "~4.1.0"
2525
},

test/common.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,8 @@ module.exports = suite.common({
77
test: test,
88
factory: function () {
99
return leveldown(tempy.directory())
10-
}
10+
},
11+
12+
// Opt-in to new clear() tests
13+
clear: true
1114
})

0 commit comments

Comments
 (0)