spawn/cli/src
A bc89a2821b
test: add 43 tests for list display logic (formatTimestamp, parseListFilters, cmdList) (#489)
Cover the history list feature display layer added in PRs #486-#488:
- formatTimestamp: valid ISO, invalid dates, edge cases (epoch, far future)
- parseListFilters: -a/-c flag extraction, missing values, duplicates, ordering
- cmdList output: table headers, rerun hint, count summary, filter messages,
  newest-first ordering, singular/plural, corrupted history resilience

Agent: test-engineer

Co-authored-by: A <6723574+louisgv@users.noreply.github.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-02-11 10:29:50 -08:00
..
__tests__ test: add 43 tests for list display logic (formatTimestamp, parseListFilters, cmdList) (#489) 2026-02-11 10:29:50 -08:00
commands-logic.ts test: Add command logic tests and refactor for testability (#56) 2026-02-08 12:02:43 -08:00
commands.ts fix: show spawn history newest-first with rerun hint (#488) 2026-02-11 10:11:50 -08:00
history.ts fix: show spawn history newest-first with rerun hint (#488) 2026-02-11 10:11:50 -08:00
index.ts feat: store spawn history locally and repurpose spawn list (#486) 2026-02-11 10:01:48 -08:00
manifest.ts fix: improve error messages and UX consistency across CLI and shell scripts (#466) 2026-02-11 07:46:56 -08:00
security.ts fix: improve error messages with actionable guidance (#447) 2026-02-11 05:20:31 -08:00
unicode-detect.ts fix: Switch build target from node to bun to fix UTF-8 mojibake 2026-02-10 09:36:28 +00:00
update-check.ts fix: improve user-facing messages and error text across CLI and shell scripts (#464) 2026-02-11 07:26:00 -08:00