test(codex): type thread start mock params · openclaw/openclaw@a4ef3a2
openclaw
·
2026-05-24
·
via Recent Commits to openclaw:main
File tree
extensions/codex/src/app-server
| Original file line number | Diff line number | Diff line change |
|---|
@@ -1202,7 +1202,7 @@ describe("runCodexAppServerAttempt", () => {
|
1202 | 1202 | pluginConfig: {}, |
1203 | 1203 | onYieldDetected: () => undefined, |
1204 | 1204 | }); |
1205 | | -const request = vi.fn(async (method: string) => { |
| 1205 | +const request = vi.fn(async (method: string, _requestParams?: unknown) => { |
1206 | 1206 | if (method === "thread/start") { |
1207 | 1207 | return threadStartResult(); |
1208 | 1208 | } |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。