test: dedupe codex schema mock read · openclaw/openclaw@fe19d9f
steipete
·
2026-05-13
·
via Recent Commits to openclaw:main
File tree
extensions/codex/src/app-server
| Original file line number | Diff line number | Diff line change |
|---|
@@ -120,7 +120,7 @@ describe("Codex app-server dynamic tool schema boundary contract", () => {
|
120 | 120 | }); |
121 | 121 | |
122 | 122 | expect(request).toHaveBeenCalledTimes(1); |
123 | | -const [method, payload] = request.mock.calls.at(0) ?? []; |
| 123 | +const [method, payload] = request.mock.calls[0] ?? []; |
124 | 124 | if (method !== "thread/start") { |
125 | 125 | throw new Error(`expected thread/start request, got ${method}`); |
126 | 126 | } |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。