Skip to content

Commit 4cab947

Browse files
lint fix
1 parent be7aee9 commit 4cab947

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/sdam/monitor.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { Connection, type ConnectionOptions } from '../cmap/connection';
66
import { getFAASEnv } from '../cmap/handshake/client_metadata';
77
import { LEGACY_HELLO_COMMAND } from '../constants';
88
import { MongoError, MongoErrorLabel, MongoNetworkTimeoutError } from '../error';
9-
import { MongoLoggableComponent, type MongoLogger } from '../mongo_logger';
9+
import { MongoLoggableComponent } from '../mongo_logger';
1010
import { CancellationToken, TypedEventEmitter } from '../mongo_types';
1111
import type { Callback, EventEmitterWithState } from '../utils';
1212
import { calculateDurationInMs, makeStateMachine, now, ns } from '../utils';
@@ -385,7 +385,7 @@ function checkServer(monitor: Monitor, callback: Callback<Document | null>) {
385385
monitor.address,
386386
calculateDurationInMs(start),
387387
conn.hello,
388-
useStreamingProtocol(monitor, conn.hello?.topologyVersion),
388+
useStreamingProtocol(monitor, conn.hello?.topologyVersion)
389389
)
390390
);
391391

test/unit/sdam/monitor.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ describe('monitoring', function () {
125125
});
126126
}).skipReason = 'TODO(NODE-3600): Unskip flaky tests';
127127

128-
describe.only('Monitor', function () {
128+
describe('Monitor', function () {
129129
let monitor;
130130

131131
beforeEach(() => {

0 commit comments

Comments
 (0)