Skip to content

Commit 095256c

Browse files
committed
Type fixes
1 parent 53c262b commit 095256c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/common/atlas/cluster.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ function extractProcessIds(connectionString: string): Array<string> {
88
if (!connectionString || connectionString === "") return [];
99

1010
// Extract host:port pairs from connection string
11-
const matches = connectionString.match(/^mongodb:\/\/([^\/]+)/);
11+
const matches = connectionString.match(/^mongodb:\/\/([^/]+)/);
1212
if (!matches) {
1313
return [];
1414
}

tests/integration/tools/atlas/atlasHelpers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import type { IntegrationTest } from "../../helpers.js";
55
import { setupIntegrationTest, defaultTestConfig, defaultDriverOptions } from "../../helpers.js";
66
import type { SuiteCollector } from "vitest";
77
import { afterAll, beforeAll, describe } from "vitest";
8-
import { Session } from "../../../../src/common/session.js";
8+
import type { Session } from "../../../../src/common/session.js";
99

1010
export type IntegrationTestFunction = (integration: IntegrationTest) => void;
1111

0 commit comments

Comments
 (0)