mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-09 22:34:32 +00:00
chore: Fix types in tests 34/N.
This commit is contained in:
@@ -281,9 +281,7 @@ describe("web monitor inbox", () => {
|
||||
|
||||
expect(onMessage).toHaveBeenCalledTimes(2);
|
||||
|
||||
if (typeof resolveFirst === "function") {
|
||||
resolveFirst();
|
||||
}
|
||||
(resolveFirst as (() => void) | null)?.();
|
||||
await listener.close();
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user