From b9d58fbc9266aa3d1143dd5bc65a0cdea225feab Mon Sep 17 00:00:00 2001 From: Vincent Weevers Date: Fri, 20 Sep 2019 14:50:51 +0200 Subject: [PATCH] Support clear() (Level/community#79) (closes #136) --- package.json | 2 +- test/common.js | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 645d6eda..d0f93a46 100644 --- a/package.json +++ b/package.json @@ -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" }, diff --git a/test/common.js b/test/common.js index 14a4a904..de2612f2 100644 --- a/test/common.js +++ b/test/common.js @@ -7,5 +7,8 @@ module.exports = suite.common({ test: test, factory: function () { return leveldown(tempy.directory()) - } + }, + + // Opt-in to new clear() tests + clear: true })