test(codex): satisfy bundled app-server lint · openclaw/openclaw@b62e9e6
vincentkoc
·
2026-04-29
·
via Recent Commits to openclaw:main
File tree
extensions/codex/src/app-server
| Original file line number | Diff line number | Diff line change |
|---|
@@ -173,7 +173,7 @@ function createAppServerHarness(
|
173 | 173 | await vi.waitFor( |
174 | 174 | () => { |
175 | 175 | if (!requests.some((entry) => entry.method === method)) { |
176 | | -const mockMethods = request.mock.calls.map(([calledMethod]) => calledMethod); |
| 176 | +const mockMethods = request.mock.calls.map((call) => call[0]); |
177 | 177 | throw new Error( |
178 | 178 | `expected app-server method ${method}; saw ${requests |
179 | 179 | .map((entry) => entry.method) |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。