Skip to content

Commit 4eb7c12

Browse files
requested changes team review
1 parent 3787250 commit 4eb7c12

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/cmap/connection.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ export interface CommandOptions extends BSONSerializeOptions {
9494

9595
directConnection?: boolean;
9696

97-
// Triggers fire-and-forget protocol for commands that don't support WriteConcern
97+
/** Triggers fire-and-forget protocol for commands that don't support WriteConcern */
9898
moreToCome?: boolean;
9999
}
100100

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -698,7 +698,7 @@ describe('class MongoClient', function () {
698698
expect(startedEvents).to.have.lengthOf(1);
699699
expect(startedEvents[0]).to.have.property('commandName', 'endSessions');
700700
expect(endEvents).to.have.lengthOf(1);
701-
expect(endEvents[0]).to.containSubset({ reply: { ok: 1 } }); // writeConcern.w = 0
701+
expect(endEvents[0]).to.containSubset({ reply: { ok: 1 } }); // moreToCome = true
702702
});
703703

704704
context('when server selection would return no servers', () => {

0 commit comments

Comments
 (0)