From bec1cf65630fd3553aa16becdca758c7baf20d0a Mon Sep 17 00:00:00 2001 From: Pablo Ubal Naveira Date: Tue, 12 Nov 2024 13:31:18 +0100 Subject: [PATCH] nit: remove unused parameter in tests --- test/db.clustermode.tests.js | 2 +- test/db.standalonemode.tests.js | 2 +- test/db.tests.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/db.clustermode.tests.js b/test/db.clustermode.tests.js index 56eb4a4..34c7a89 100644 --- a/test/db.clustermode.tests.js +++ b/test/db.clustermode.tests.js @@ -12,7 +12,7 @@ describe('when using LimitDB', () => { return new LimitDB({ nodes: clusterNodes, buckets: {}, prefix: 'tests:', ..._.omit(params, ['uri']) }); }; - dbTests(clientCreator, { clusterNodes }); + dbTests(clientCreator); describe('when using the clustered #constructor', () => { it('should allow setting username and password', (done) => { diff --git a/test/db.standalonemode.tests.js b/test/db.standalonemode.tests.js index 68db900..ce032f0 100644 --- a/test/db.standalonemode.tests.js +++ b/test/db.standalonemode.tests.js @@ -13,7 +13,7 @@ describe('when using LimitDB', () => { return new LimitDB({ uri: 'localhost:6379', buckets: {}, prefix: 'tests:', ..._.omit(params, ['nodes']) }); }; - dbTests(clientCreator, { uri: 'localhost:6379' } ); + dbTests(clientCreator); describe('when using the standalone #constructor', () => { it('should emit error on failure to connect to redis', (done) => { diff --git a/test/db.tests.js b/test/db.tests.js index a7ff818..e371e62 100644 --- a/test/db.tests.js +++ b/test/db.tests.js @@ -121,7 +121,7 @@ const elevatedBuckets = { module.exports.buckets = buckets; module.exports.elevatedBuckets = elevatedBuckets; -module.exports.tests = (clientCreator, opts) => { +module.exports.tests = (clientCreator) => { describe('LimitDBRedis', () => { let db; const prefix = 'tests:'