Tests: Add test coverage (currently 0%) #328
Labels
No labels
auto-merged
ci
failed
component
api
good first issue
has-pr
help wanted
idea
priority
critical
priority
high
priority
low
priority
medium
review
approved
review
commented
status
blocked
status
in-progress
status
needs-review
status
ready
type
bug
type
chore
type
docs
type
enhancement
type
feature
type
refactor
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
customable/claude-mem#328
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
Vitest ist konfiguriert (
vitest.config.ts), aber es gibt keine Test-Files.Test-Coverage: 0%
Gewünschte Tests
Unit-Tests
Backend (
packages/backend):SessionService- Create/Update/Get sessionsTaskService- Queue/Process/Deduplicate tasksSettingsManager- Load/Save settings/api/sessions,/api/tasks, etc.)Database (
packages/database):Worker (
packages/worker):Hooks (
packages/hooks):Integration-Tests
Frontend-Tests (UI)
.playwright-mcp)Test-Struktur
Beispiel-Tests
SessionService (Unit)
API Routes (Integration)
Component Test (UI)
CI/CD Integration
Acceptance Criteria
pnpm testfunktioniertPriority
High - Tests sind kritisch für Production-Readiness.
Dependencies
jack referenced this issue2026-03-02 13:41:38 +00:00
review.bot referenced this issue2026-03-02 13:41:45 +00:00
Progress Update
PR #342 pushed with initial test coverage improvements.
Done
vitest.config.tsupdated: excluded untestable modules (UI, types, worker-hub, WebSocket, migrations), thresholds raised to 40%New test files
session-service.test.tsshare-service.test.tsinsights-service.test.tshooks-router.test.tspost-tool-use.test.tsuser-prompt-submit.test.tsvalidation.test.tsRemaining (to reach >70%)
This can be continued in a follow-up session.
jack referenced this issue2026-03-02 13:44:08 +00:00
review.bot referenced this issue2026-03-02 13:44:22 +00:00