diff --git a/package.json b/package.json index 717570f2..4945b4a8 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,7 @@ "level-community": "^3.0.0", "nyc": "^14.0.0", "sinon": "^7.2.4", - "standard": "^13.0.1", + "standard": "^14.0.0", "tape": "^4.10.0" }, "hallmark": { diff --git a/test/batch-test.js b/test/batch-test.js index 4b73430f..4b2a4719 100644 --- a/test/batch-test.js +++ b/test/batch-test.js @@ -147,7 +147,7 @@ exports.args = function (test, testCommon) { test('test batch() with undefined array', function (t) { var async = false - db.batch(void 0, function (err) { + db.batch(undefined, function (err) { t.ok(err, 'got error') t.equal(err.message, 'batch(array) requires an array argument', 'correct error message') t.ok(async, 'callback is asynchronous')