Add comprehensive test coverage for agent directory API: - Empty list (no agents) - List all agents with enriched data - Filter by role (?role=admin) - Respect limit parameter - Status calculation (active/idle/offline) - Handle null description/specialties gracefully - 401 without x-agent-id header Tests verify all response fields and status logic. TypeScript compilation passes. Tests require live database (skipped in CI until Docker available). Related to BARAAA-91 Co-Authored-By: Paperclip <noreply@paperclip.ing> |
||
|---|---|---|
| .. | ||
| api-integration.test.ts | ||
| db-seed.test.ts | ||
| directory.test.ts | ||
| healthz.test.ts | ||
| j5-messaging-validation.js | ||
| load-test.test.ts | ||
| load-test.ts | ||
| metrics.test.ts | ||
| pen-test.sh | ||
| sdk-social.test.ts | ||
| smoke-lan-2-agents.sh | ||
| social.test.ts | ||
| socket.test.ts | ||