ECC/tests
Affaan Mustafa f000d9b02d test: cover getSessionStats file-path read, hasContent field, and wrapped hooks format
Round 78 — shifted from catch blocks to untested conditional branches:
- getSessionStats: exercise looksLikePath → getSessionContent path (real .tmp file)
- getAllSessions: verify hasContent true/false for non-empty vs empty files
- validate-hooks: test wrapped { hooks: { PreToolUse: [...] } } production format
2026-02-13 10:21:06 -08:00
..
ci test: cover getSessionStats file-path read, hasContent field, and wrapped hooks format 2026-02-13 10:21:06 -08:00
hooks test: cover evaluate-session/suggest-compact main().catch and validate-hooks JSON parse 2026-02-13 10:03:48 -08:00
integration test: add timeout enforcement, async hook schema, and command format validation tests 2026-02-13 05:23:16 -08:00
lib test: cover getSessionStats file-path read, hasContent field, and wrapped hooks format 2026-02-13 10:21:06 -08:00
scripts test: cover setGlobal/setProject catch blocks and session-start main().catch 2026-02-13 09:55:00 -08:00
run-all.js fix: add cwd to prettier hook, consistent process.exit(0), and stdout pass-through 2026-02-13 03:20:41 -08:00