From 54e08c9cafb21c80930f35e20e20d69bc82742b2 Mon Sep 17 00:00:00 2001 From: Neal Beeken Date: Thu, 19 Dec 2024 13:22:17 -0500 Subject: [PATCH] chore: feature rm --- test/integration/node-specific/mongo_client.test.ts | 8 ++++---- test/unit/sdam/server_selection.test.ts | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/test/integration/node-specific/mongo_client.test.ts b/test/integration/node-specific/mongo_client.test.ts index 17957a510d9..059d9d82c2d 100644 --- a/test/integration/node-specific/mongo_client.test.ts +++ b/test/integration/node-specific/mongo_client.test.ts @@ -865,8 +865,8 @@ describe('class MongoClient', function () { }); }); - for (const featureFlagValue of [false, undefined]) { - context(`when set to ${featureFlagValue}`, () => { + for (const optionValue of [false, undefined]) { + context(`when set to ${optionValue}`, () => { context('when logging is enabled for a component', () => { before(() => { process.env['MONGODB_LOG_COMMAND'] = SeverityLevel.EMERGENCY; @@ -874,7 +874,7 @@ describe('class MongoClient', function () { it('does not instantiate logger', () => { const client = new MongoClient('mongodb://localhost:27017', { - __enableMongoLogger: featureFlagValue + __enableMongoLogger: optionValue }); expect(client.mongoLogger).to.not.exist; }); @@ -887,7 +887,7 @@ describe('class MongoClient', function () { it('does not instantiate logger', () => { const client = new MongoClient('mongodb://localhost:27017', { - __enableMongoLogger: featureFlagValue + __enableMongoLogger: optionValue }); expect(client.mongoLogger).to.not.exist; }); diff --git a/test/unit/sdam/server_selection.test.ts b/test/unit/sdam/server_selection.test.ts index e2c581dfb9e..b372178479f 100644 --- a/test/unit/sdam/server_selection.test.ts +++ b/test/unit/sdam/server_selection.test.ts @@ -610,7 +610,7 @@ describe('server selection', function () { }); }); - describe('server selection logging feature flagging', function () { + describe('willLog()', function () { let mockServer; let topology; let address;