test(codex): type forced-tool request mock · openclaw/openclaw@f6ab188
steipete
·
2026-05-23
·
via Recent Commits to openclaw:main
File tree
extensions/codex/src/app-server
| Original file line number | Diff line number | Diff line change |
|---|
@@ -2353,7 +2353,7 @@ describe("runCodexAppServerAttempt", () => {
|
2353 | 2353 | signal: new AbortController().signal, |
2354 | 2354 | directToolNames: ["message"], |
2355 | 2355 | }); |
2356 | | -const request = vi.fn(async (method: string) => { |
| 2356 | +const request = vi.fn(async (method: string, _params?: unknown) => { |
2357 | 2357 | if (method === "thread/start") { |
2358 | 2358 | return threadStartResult(); |
2359 | 2359 | } |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。