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