Commit 2a166aa
test: add comprehensive test suite for api-helper.ts
- Add 32 tests covering all functions in api-helper.ts
- Test errToStr() with Error instances, API errors, ErrorEvent, strings, and edge cases
- Test extractAgents() and extractAllAgents() with various workspace configurations
- Validate Zod schemas for AgentMetadataEvent
- Update CLAUDE.md to reflect standard test running approach
- All 137 tests now passing
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent b79b844 commit 2a166aa
2 files changed
+560
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | | - | |
| 10 | + | |
12 | 11 | | |
13 | 12 | | |
14 | 13 | | |
| |||
0 commit comments