mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-08 22:21:23 +00:00
fix: add missing branchIsolation field to test objects
This commit is contained in:
parent
f34233be29
commit
175480855a
1 changed files with 5 additions and 0 deletions
|
|
@ -1120,6 +1120,7 @@ describe("CodeIndexConfigManager", () => {
|
|||
ollamaBaseUrl: undefined,
|
||||
qdrantUrl: "http://qdrant.local",
|
||||
qdrantApiKey: undefined,
|
||||
branchIsolation: false,
|
||||
}
|
||||
|
||||
const requiresRestart = configManager.doesConfigChangeRequireRestart(mockPrevConfig)
|
||||
|
|
@ -1437,6 +1438,7 @@ describe("CodeIndexConfigManager", () => {
|
|||
embedderProvider: "openai",
|
||||
openAiKey: "test-key",
|
||||
qdrantUrl: "http://localhost:6333",
|
||||
branchIsolation: false,
|
||||
}
|
||||
|
||||
// Update to disabled
|
||||
|
|
@ -1490,6 +1492,7 @@ describe("CodeIndexConfigManager", () => {
|
|||
enabled: false,
|
||||
configured: false,
|
||||
embedderProvider: "openai",
|
||||
branchIsolation: false,
|
||||
}
|
||||
|
||||
// Same config, still disabled
|
||||
|
|
@ -1514,6 +1517,7 @@ describe("CodeIndexConfigManager", () => {
|
|||
embedderProvider: "openai",
|
||||
openAiKey: "test-key",
|
||||
qdrantUrl: "http://localhost:6333",
|
||||
branchIsolation: false,
|
||||
}
|
||||
|
||||
const result = configManager.doesConfigChangeRequireRestart(previousSnapshot)
|
||||
|
|
@ -1533,6 +1537,7 @@ describe("CodeIndexConfigManager", () => {
|
|||
enabled: false,
|
||||
configured: false,
|
||||
embedderProvider: "openai",
|
||||
branchIsolation: false,
|
||||
}
|
||||
|
||||
// Provider changed but feature is disabled
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue