Skip to content

Commit 54e08c9

Browse files
committed
chore: feature rm
1 parent ea94a32 commit 54e08c9

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

test/integration/node-specific/mongo_client.test.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -865,16 +865,16 @@ describe('class MongoClient', function () {
865865
});
866866
});
867867

868-
for (const featureFlagValue of [false, undefined]) {
869-
context(`when set to ${featureFlagValue}`, () => {
868+
for (const optionValue of [false, undefined]) {
869+
context(`when set to ${optionValue}`, () => {
870870
context('when logging is enabled for a component', () => {
871871
before(() => {
872872
process.env['MONGODB_LOG_COMMAND'] = SeverityLevel.EMERGENCY;
873873
});
874874

875875
it('does not instantiate logger', () => {
876876
const client = new MongoClient('mongodb://localhost:27017', {
877-
__enableMongoLogger: featureFlagValue
877+
__enableMongoLogger: optionValue
878878
});
879879
expect(client.mongoLogger).to.not.exist;
880880
});
@@ -887,7 +887,7 @@ describe('class MongoClient', function () {
887887

888888
it('does not instantiate logger', () => {
889889
const client = new MongoClient('mongodb://localhost:27017', {
890-
__enableMongoLogger: featureFlagValue
890+
__enableMongoLogger: optionValue
891891
});
892892
expect(client.mongoLogger).to.not.exist;
893893
});

test/unit/sdam/server_selection.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -610,7 +610,7 @@ describe('server selection', function () {
610610
});
611611
});
612612

613-
describe('server selection logging feature flagging', function () {
613+
describe('willLog()', function () {
614614
let mockServer;
615615
let topology;
616616
let address;

0 commit comments

Comments
 (0)