Skip to content

Commit b49430e

Browse files
committed
test(NODE-7182): fix typescript types & imports
1 parent 2cbd267 commit b49430e

File tree

1 file changed

+12
-11
lines changed

1 file changed

+12
-11
lines changed

test/integration/connection-monitoring-and-pooling/connection.test.ts

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,23 +5,24 @@ import { expect } from 'chai';
55
import * as sinon from 'sinon';
66

77
import {
8-
addContainerMetadata,
98
Binary,
10-
connect,
11-
Connection,
129
type ConnectionOptions,
13-
HostAddress,
14-
LEGACY_HELLO_COMMAND,
15-
makeClientMetadata,
1610
MongoClient,
1711
MongoClientAuthProviders,
1812
type MongoClientOptions,
19-
MongoDBResponse,
2013
MongoServerError,
21-
ns,
22-
ServerHeartbeatStartedEvent,
23-
Topology
24-
} from '../../mongodb';
14+
ServerHeartbeatStartedEvent
15+
} from '../../../src';
16+
import { connect } from '../../../src/cmap/connect';
17+
import { Connection } from '../../../src/cmap/connection';
18+
import {
19+
addContainerMetadata,
20+
makeClientMetadata
21+
} from '../../../src/cmap/handshake/client_metadata';
22+
import { MongoDBResponse } from '../../../src/cmap/wire_protocol/responses';
23+
import { LEGACY_HELLO_COMMAND } from '../../../src/constants';
24+
import { Topology } from '../../../src/sdam/topology';
25+
import { HostAddress, ns } from '../../../src/utils';
2526
import * as mock from '../../tools/mongodb-mock/index';
2627
import { processTick, sleep } from '../../tools/utils';
2728
import { assert as test, setupDatabase } from '../shared';

0 commit comments

Comments
 (0)