Migrate configuration and command tests to native inspection

This commit is contained in:
2026-11-22 05:16:24 +00:00
parent 21bcb4eb3b
commit 5cfcf10a8b
6 changed files with 339 additions and 713 deletions

View File

@@ -54,7 +54,11 @@ func TestNativeLoadUsesOptionalCompanionsAndStrictPeers(t *testing.T) {
t.Fatal("embedded collection missing")
}
if test.name == "recursive" {
if len(result.Config.PromptKit.Profiles) != 1 || result.Config.PromptKit.Profiles[0].ID != "partial" {
found := false
for _, profile := range result.Config.PromptKit.Profiles {
found = found || profile.ID == "partial"
}
if !found {
t.Fatal("recursive companion not loaded")
}
}