chore: Fix types in tests 34/N.

This commit is contained in:
cpojer
2026-02-17 15:45:59 +09:00
parent 49bd9f75f4
commit ed75d30ad3
7 changed files with 14 additions and 10 deletions

View File

@@ -281,9 +281,7 @@ describe("web monitor inbox", () => {
expect(onMessage).toHaveBeenCalledTimes(2);
if (typeof resolveFirst === "function") {
resolveFirst();
}
(resolveFirst as (() => void) | null)?.();
await listener.close();
});