Commit Graph
2 Commits
Author SHA1 Message Date
Cursor AgentandTheo Browne bb4f4d57e8 fix: address lint warnings in new files
- wsTransport.ts: Use addEventListener instead of on-function assignments
- wsServer.ts: Replace filter(Boolean).pop() with direct array access
- wsServer.test.ts: Use addEventListener for WebSocket events

Co-authored-by: Theo Browne <[email protected]>
2026-02-09 21:58:21 +00:00
Cursor AgentandTheo Browne 871fe5e8b8 test: add WebSocket server integration tests
- Tests welcome message on connect with cwd/projectName
- Tests server.getConfig method
- Tests providers.listSessions returns empty array
- Tests error response for unknown methods
- Tests graceful handling of invalid JSON
- All 73 tests pass across 12 test files

Co-authored-by: Theo Browne <[email protected]>
2026-02-09 21:56:33 +00:00