Skip to content

Commit

Permalink
Support clear() (Level/community#79) (closes #136)
Browse files Browse the repository at this point in the history
  • Loading branch information
vweevers committed Sep 20, 2019
1 parent 19a253c commit b9d58fb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"prepublishOnly": "npm run dependency-check"
},
"dependencies": {
"abstract-leveldown": "~6.0.3",
"abstract-leveldown": "~6.1.1",
"napi-macros": "~2.0.0",
"node-gyp-build": "~4.1.0"
},
Expand Down
5 changes: 4 additions & 1 deletion test/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,8 @@ module.exports = suite.common({
test: test,
factory: function () {
return leveldown(tempy.directory())
}
},

// Opt-in to new clear() tests
clear: true
})

0 comments on commit b9d58fb

Please sign in to comment.