test(chapter-11): cover token storage and API-key helpers
Chapter: 11 - First regression tests. Plain-English map: Add Vitest tests for download tokens, storage-path helpers, and user API-key encryption behavior. Why it matters: These helpers sit near sensitive boundaries. If they regress, users can lose access, leak secrets, or store files in the wrong place. Principle: Test the sharp edges first. Precedent borrowed: The fork report highlighted several forks with meaningful test suites. This starts that same protection around core helper behavior. Upstream base: willchen96/mike@d39f580. Original local commit: 4fdc779.
| Repository | amal66/mike |
|---|---|
| Author | Amal <mamalanand3@gmail.com> |
| Authored | |
| Parents | bfb2466e |
| Stats | 3 files changed , +324 |
| Part of | Regression test suite (unit + HTTP integration) |
Capture this commit into my fork
Download a Markdown prompt that tells Claude how to port this
exact commit into your working tree. Run it via
claude -p < capture-commit-16de3244.md
from inside the repo you want the change in.