chore: Fix types in tests 42/N.

This commit is contained in:
cpojer
2026-02-17 15:48:29 +09:00
parent 6264c5e842
commit 7d2ef131c1
24 changed files with 133 additions and 39 deletions

View File

@@ -642,10 +642,11 @@ describe("runReplyAgent claude-cli routing", () => {
}
it("uses claude-cli runner for claude-cli provider", async () => {
const randomSpy = vi.spyOn(crypto, "randomUUID").mockReturnValue("run-1");
const runId = "00000000-0000-0000-0000-000000000001";
const randomSpy = vi.spyOn(crypto, "randomUUID").mockReturnValue(runId);
const lifecyclePhases: string[] = [];
const unsubscribe = onAgentEvent((evt) => {
if (evt.runId !== "run-1") {
if (evt.runId !== runId) {
return;
}
if (evt.stream !== "lifecycle") {