ECC/tests/lib
Affaan Mustafa 2573cbb7b0 test: cover session-end message.role path, getExecCommand non-string args, and legacy hooks format
Round 80: Three previously untested conditional branches:
- session-end.js: entry.message?.role === 'user' third OR condition
  (fires when type is not 'user' but message.role is)
- package-manager.js: getExecCommand with truthy non-string args
  (typeof check short-circuits, value still appended via ternary)
- validate-hooks.js: legacy array format parsing path (lines 115-135)
  with 'Hook N' error labels instead of 'EventType[N]'
2026-02-13 10:39:35 -08:00
..
package-manager.test.js test: cover session-end message.role path, getExecCommand non-string args, and legacy hooks format 2026-02-13 10:39:35 -08:00
session-aliases.test.js test: cover cleanupAliases save failure, setAlias save failure, and validate-commands statSync catch 2026-02-13 09:42:25 -08:00
session-manager.test.js test: cover getSessionStats file-path read, hasContent field, and wrapped hooks format 2026-02-13 10:21:06 -08:00
utils.test.js test: cover countInFile/grepFile string patterns and validate-commands warnings suffix 2026-02-13 10:26:58 -08:00