mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-28 01:42:59 +00:00
test(codex): widen app-server wait timeout type
This commit is contained in:
@@ -421,7 +421,7 @@ function createAppServerHarness(
|
||||
return {
|
||||
request,
|
||||
requests,
|
||||
async waitForMethod(method: string, timeoutMs = appServerHarnessWait.timeout) {
|
||||
async waitForMethod(method: string, timeoutMs: number = appServerHarnessWait.timeout) {
|
||||
await vi.waitFor(
|
||||
() => {
|
||||
if (!requests.some((entry) => entry.method === method)) {
|
||||
|
||||
Reference in New Issue
Block a user