Skip to content

LOW: Add test coverage for bot, MCP server, research, and web routes #44

Description

@Brad-Edwards

Severity: Low (Quality I1)

Missing test coverage for:

  • `src/bot/bot.ts` — no tests at all
  • `src/mcp/server.ts` — no tests for MCP tools
  • `src/analysis/research.ts` — no tests for session lifecycle
  • `src/server/routes/*.tsx` — no tests for web routes
  • `src/db/queries.ts` — searchItems, similarItems, getItem, addAnnotation untested
  • `src/db/queries-web.ts` — no tests
  • `src/jobs/*.ts` — no tests for job orchestration

Recommendation: Add tests following existing patterns in `tests/`.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions