Home

mweinbach / agent-coworker

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

refactor: split config, control, research, and control-socket tests

4 months ago

ecf9ba6
Authored
mweinbach5/22/2026, 12:14:56 AM
Break up four remaining mega test files into topic-focused modules with
shared harnesses for easier navigation and isolated mock lifecycle.

Co-authored-by: Cursor <cursoragent@cursor.com>

Parent0e8d800

29 files changed
  • apps/desktop/test/control-socket.ensure.test.ts+361−0
  • apps/desktop/test/control-socket.events.test.ts+599−0
  • apps/desktop/test/control-socket.harness.ts+211−0
  • apps/desktop/test/control-socket.provider.test.ts+412−0
  • apps/desktop/test/control-socket.sessions.test.ts+214−0
  • apps/desktop/test/control-socket.test.ts+2−1679
  • test/config.test.ts+2−1645
  • test/config/config.deepMerge.test.ts+107−0
  • test/config/config.defaultModelForProvider.test.ts+30−0
  • test/config/config.directoryResolution.test.ts+251−0
  • test/config/config.getModel.test.ts+122−0
  • test/config/config.harness.ts+54−0
  • test/config/config.loadConfig.test.ts+1100−0
  • test/config/config.loadJsonSafe.test.ts+66−0
  • test/jsonrpc/control.catalog.test.ts+112−0
  • test/jsonrpc/control.errors.test.ts+200−0
  • test/jsonrpc/control.harness.ts+94−0
  • test/jsonrpc/control.plugins.test.ts+558−0
  • test/jsonrpc/control.provider.test.ts+91−0
  • test/jsonrpc/control.session.test.ts+308−0
  • test/jsonrpc/control.workspace.test.ts+284−0
  • test/research.test.ts+2−1836
  • test/research/research.export.test.ts+71−0
  • test/research/research.harness.ts+174−0
  • test/research/research.service.core.test.ts+612−0
  • test/research/research.service.followup.test.ts+402−0
  • test/research/research.service.resume.test.ts+379−0
  • test/research/research.service.sources.test.ts+338−0
  • test/server.jsonrpc.control.test.ts+2−1530