Files
rose-ash/spec/tests
giles 8915eeaf5e
Some checks failed
Test, Build, and Deploy / test-build-deploy (push) Failing after 16s
HS E36: RPC timeout tests (10, 11, 14) — 16/16 complete
All 16 socket tests now green.

Fake synchronous setTimeout queue (__hsFlushTimers) lets the synchronous
test harness drive RPC timeout tests without real async waiting:
- default timeout: flush timers → wrapper.pending emptied (rejected)
- noTimeout: flush timers → wrapper.pending still has entry (not rejected)
- timeout(n): flush timers → 50ms timer fires → pending emptied

_rpcDispatch handles "noTimeout"/"timeout" method names, returning
new proxy or timeout-factory function respectively.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-26 17:56:19 +00:00
..