Add unit tests + minimal docs (usage + design decisions) #5
Loading…
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?
Add unit tests for the easily-testable pure functions (
getLocalPath,sanitizePathSegment,downloadsFromPlaylists,computeDesiredFiles, the existing-vs-desired diff function) usingbun test. Write a minimalDESIGN.md/README section covering usage (env vars,download/syncbehavior) 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.