test(coding-agent): update stale mocks and fix /clone expectation (#3608)
This commit is contained in:
@@ -450,6 +450,7 @@ describe("AgentSession concurrent prompt guard", () => {
|
||||
systemPrompt: string,
|
||||
systemPromptOptions: BuildSystemPromptOptions,
|
||||
) => Promise<undefined>;
|
||||
invalidate: (message?: string) => void;
|
||||
};
|
||||
};
|
||||
sessionWithRunner._extensionRunner = {
|
||||
@@ -466,6 +467,7 @@ describe("AgentSession concurrent prompt guard", () => {
|
||||
},
|
||||
emitInput: async () => ({ action: "continue" }),
|
||||
emitBeforeAgentStart: async () => undefined,
|
||||
invalidate: () => {},
|
||||
};
|
||||
|
||||
await session.prompt("hi");
|
||||
@@ -590,6 +592,7 @@ describe("AgentSession concurrent prompt guard", () => {
|
||||
systemPrompt: string,
|
||||
systemPromptOptions: BuildSystemPromptOptions,
|
||||
) => Promise<undefined>;
|
||||
invalidate: (message?: string) => void;
|
||||
};
|
||||
};
|
||||
sessionWithRunner._extensionRunner = {
|
||||
@@ -601,6 +604,7 @@ describe("AgentSession concurrent prompt guard", () => {
|
||||
},
|
||||
emitInput: async () => ({ action: "continue" }),
|
||||
emitBeforeAgentStart: async () => undefined,
|
||||
invalidate: () => {},
|
||||
};
|
||||
|
||||
await session.prompt("hi");
|
||||
|
||||
Reference in New Issue
Block a user