Commit 58923b7
test: add AgentOrchestrator unit tests
Add comprehensive test coverage for AgentOrchestrator.ts (912 lines):
- Initialization tests (dependencies, double-init prevention)
- Turn processing tests (GMI creation, streaming, context)
- Tool calling tests (iteration limits, result processing)
- State management tests (concurrent streams, isolation)
- Shutdown tests (cleanup, reinitialization)
21 test cases covering critical orchestration paths.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent b3a7072 commit 58923b7
1 file changed
Lines changed: 543 additions & 0 deletions
0 commit comments