Skip to content

Commit d38800e

Browse files
committed
chore: remove unnecessary import, fix type
1 parent c3c5abe commit d38800e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

testing/integration-testing-hooks.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ import which from "which";
88
import { ConnectionString } from "mongodb-connection-string-url";
99
import { MongoCluster, MongoClusterOptions } from "mongodb-runner";
1010
import { downloadCryptLibrary } from "../packages/build/src/packaging/download-crypt-library";
11-
import { dir } from "console";
1211

1312
const execFile = promisify(child_process.execFile);
1413

@@ -55,7 +54,7 @@ export class MongodSetup {
5554

5655
async connectionString(
5756
searchParams: Partial<Record<keyof MongoClientOptions, string>> = {},
58-
uriOptions: Partial<ConnectionString> = {}
57+
uriOptions: Partial<typeof ConnectionString> = {}
5958
): Promise<string> {
6059
if (
6160
Object.keys(searchParams).length + Object.keys(uriOptions).length ===
@@ -72,7 +71,7 @@ export class MongodSetup {
7271
return url.toString();
7372
}
7473

75-
async connectionStringUrl(): Promise<ConnectionString> {
74+
async connectionStringUrl(): Promise<typeof ConnectionString> {
7675
return new ConnectionString(await this.connectionString());
7776
}
7877

0 commit comments

Comments
 (0)