Skip to content

Commit 5adcf1e

Browse files
fix: failing tests
1 parent a83d281 commit 5adcf1e

File tree

1 file changed

+27
-3
lines changed

1 file changed

+27
-3
lines changed

gui/src/context/MockIdeMessenger.ts

Lines changed: 27 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,14 +56,37 @@ const DEFAULT_MOCK_CORE_RESPONSES: MockResponses = {
5656
},
5757
},
5858
"config/getSerializedProfileInfo": {
59-
organizations: [],
60-
profileId: "test-profile",
59+
organizations: [
60+
{
61+
id: "personal",
62+
profiles: [
63+
{
64+
title: "Local Agent",
65+
id: "local",
66+
errors: [],
67+
profileType: "local",
68+
uri: "",
69+
iconUrl: "",
70+
fullSlug: {
71+
ownerSlug: "",
72+
packageSlug: "",
73+
versionSlug: "",
74+
},
75+
},
76+
],
77+
slug: "",
78+
selectedProfileId: "local",
79+
name: "Personal",
80+
iconUrl: "",
81+
},
82+
],
83+
profileId: "local",
6184
result: {
6285
config: undefined,
6386
errors: [],
6487
configLoadInterrupted: false,
6588
},
66-
selectedOrgId: "local",
89+
selectedOrgId: "personal",
6790
},
6891
"chatDescriber/describe": "Session summary",
6992
applyToFile: undefined,
@@ -102,6 +125,7 @@ const DEFAULT_MOCK_CORE_RESPONSES: MockResponses = {
102125
},
103126
},
104127
],
128+
listBackgroundAgents: [],
105129
};
106130

107131
const DEFAULT_MOCK_CORE_RESPONSE_HANDLERS: MockResponseHandlers = {

0 commit comments

Comments
 (0)