mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 09:00:42 +00:00
test(codex): satisfy bundled app-server lint
This commit is contained in:
@@ -173,7 +173,7 @@ function createAppServerHarness(
|
||||
await vi.waitFor(
|
||||
() => {
|
||||
if (!requests.some((entry) => entry.method === method)) {
|
||||
const mockMethods = request.mock.calls.map(([calledMethod]) => calledMethod);
|
||||
const mockMethods = request.mock.calls.map((call) => call[0]);
|
||||
throw new Error(
|
||||
`expected app-server method ${method}; saw ${requests
|
||||
.map((entry) => entry.method)
|
||||
|
||||
Reference in New Issue
Block a user