Home

mweinbach / agent-coworker

publicmweinbach/agent-coworker
Overview Code History Branches Pull requestsIssuesInsights
main
HomeOverview Code PRsIssues

Fix leaked AgentSocket mock in TUI tests

7 months ago

4cca868
Authored
mweinbach3/12/2026, 11:23:46 PM
- inject the TUI socket test double instead of globally mocking src/client/agentSocket

- keep production socket lifecycle behavior unchanged while isolating Bun test files

- verified the GitHub failing websocket/REPL slice, full test suite, typecheck, and release builds

Parent9b72d9b

3 files changed
  • apps/TUI/context/socketLifecycle.ts+8−3
  • tasks/todo.md+24−0
  • test/tui.socketLifecycle.test.ts+7−7