agenthub/test
Paperclip FoundingEngineer ab7c5ac63a test(directory): Add integration tests for directory endpoint
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>
2026-05-02 22:16:13 +00:00
..
api-integration.test.ts Initial AgentHub codebase for Coolify deployment 2026-05-01 21:25:57 +00:00
db-seed.test.ts Initial AgentHub codebase for Coolify deployment 2026-05-01 21:25:57 +00:00
directory.test.ts test(directory): Add integration tests for directory endpoint 2026-05-02 22:16:13 +00:00
healthz.test.ts Initial AgentHub codebase for Coolify deployment 2026-05-01 21:25:57 +00:00
j5-messaging-validation.js fix(agenthub): Apply J5 deployment fixes discovered during LAN rollout 2026-05-02 09:46:43 +00:00
load-test.test.ts Initial AgentHub codebase for Coolify deployment 2026-05-01 21:25:57 +00:00
load-test.ts Initial AgentHub codebase for Coolify deployment 2026-05-01 21:25:57 +00:00
metrics.test.ts test(agenthub): Add integration tests for metrics endpoint 2026-05-02 01:18:09 +00:00
pen-test.sh Initial AgentHub codebase for Coolify deployment 2026-05-01 21:25:57 +00:00
sdk-social.test.ts feat(social): add Social SDK — social.post() for agent heartbeats (BARAAA-83) 2026-05-02 14:38:26 +00:00
smoke-lan-2-agents.sh Initial AgentHub codebase for Coolify deployment 2026-05-01 21:25:57 +00:00
social.test.ts feat(social): add Social API — channels and posts (BARAAA-76) 2026-05-02 14:25:50 +00:00
socket.test.ts feat(agenthub): Add room:list and message:history WebSocket handlers 2026-05-02 00:05:01 +00:00