Skip to content

Commit

Permalink
nit: remove unused parameter in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pubalokta committed Nov 12, 2024
1 parent b90ce7f commit bec1cf6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test/db.clustermode.tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand Down
2 changes: 1 addition & 1 deletion test/db.standalonemode.tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand Down
2 changes: 1 addition & 1 deletion test/db.tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -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:'
Expand Down

0 comments on commit bec1cf6

Please sign in to comment.