Add unit tests + minimal docs (usage + design decisions) #5

Open
opened 2026-08-18 19:37:55 +00:00 by r2d2-bot · 0 comments
Collaborator

Add unit tests for the easily-testable pure functions (getLocalPath, sanitizePathSegment, downloadsFromPlaylists, computeDesiredFiles, the existing-vs-desired diff function) using bun test. Write a minimal DESIGN.md/README section covering usage (env vars, download/sync behavior) and design decisions. Note explicitly that test coverage is intentionally partial, not exhaustive.

See PLANNING/MASTER_PLAN.md, Documentation/Unit tests sections and Task list item 5.

Add unit tests for the easily-testable pure functions (`getLocalPath`, `sanitizePathSegment`, `downloadsFromPlaylists`, `computeDesiredFiles`, the existing-vs-desired diff function) using `bun test`. Write a minimal `DESIGN.md`/README section covering usage (env vars, `download`/`sync` behavior) and design decisions. Note explicitly that test coverage is intentionally partial, not exhaustive. See `PLANNING/MASTER_PLAN.md`, Documentation/Unit tests sections and Task list item 5.
Sign in to join this conversation.
No labels
m3u_files
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
jshaver/jellyfin-to-m3u#5
No description provided.