Skip to content

Commit 1754808

Browse files
committed
fix: add missing branchIsolation field to test objects
1 parent f34233b commit 1754808

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/services/code-index/__tests__/config-manager.spec.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1120,6 +1120,7 @@ describe("CodeIndexConfigManager", () => {
11201120
ollamaBaseUrl: undefined,
11211121
qdrantUrl: "http://qdrant.local",
11221122
qdrantApiKey: undefined,
1123+
branchIsolation: false,
11231124
}
11241125

11251126
const requiresRestart = configManager.doesConfigChangeRequireRestart(mockPrevConfig)
@@ -1437,6 +1438,7 @@ describe("CodeIndexConfigManager", () => {
14371438
embedderProvider: "openai",
14381439
openAiKey: "test-key",
14391440
qdrantUrl: "http://localhost:6333",
1441+
branchIsolation: false,
14401442
}
14411443

14421444
// Update to disabled
@@ -1490,6 +1492,7 @@ describe("CodeIndexConfigManager", () => {
14901492
enabled: false,
14911493
configured: false,
14921494
embedderProvider: "openai",
1495+
branchIsolation: false,
14931496
}
14941497

14951498
// Same config, still disabled
@@ -1514,6 +1517,7 @@ describe("CodeIndexConfigManager", () => {
15141517
embedderProvider: "openai",
15151518
openAiKey: "test-key",
15161519
qdrantUrl: "http://localhost:6333",
1520+
branchIsolation: false,
15171521
}
15181522

15191523
const result = configManager.doesConfigChangeRequireRestart(previousSnapshot)
@@ -1533,6 +1537,7 @@ describe("CodeIndexConfigManager", () => {
15331537
enabled: false,
15341538
configured: false,
15351539
embedderProvider: "openai",
1540+
branchIsolation: false,
15361541
}
15371542

15381543
// Provider changed but feature is disabled

0 commit comments

Comments
 (0)