Compare commits

...
Author SHA1 Message Date
l0ng-ai 039c7dadb9 test: fix main's spacing-scale and model-refresh failures
The redirect list in the HTTP Client used gap: 2px instead of --space-0-5, and
the agent model-refresh test's IPC mock lacked vcsRemotes, which the session's
origin lookup now calls.
2026-11-20 02:47:38 +08:00
2 changed files with 2 additions and 1 deletions

No files matched your search

@@ -54,6 +54,7 @@ vi.mock("@/platform/ipc", async (original) => ({
agentCommands: async () => ok([]),
vcsBranchInfo: async () => ok({ head: "main" }),
vcsConfigGet: async () => ok(null),
vcsRemotes: async () => ok([]),
vcsBranches: async () => ok([]),
agentCreate: (request: NewAgentTask) => backend.create(request),
agentEntries: async () => ok([{ type: "user", text: "Earlier message", attachments: [] }] satisfies AgentEntry[]),
@@ -135,7 +135,7 @@
.redirects {
display: flex;
flex-direction: column;
gap: 2px;
gap: var(--space-0-5);
padding: 2px 8px;
border-bottom: 1px solid var(--border);
font-family: var(--font-mono);