ECC/tests/hooks
Affaan Mustafa a95fb54ee4 test: add 3 tests for scoped pkg detection, empty env var, and tools-without-files (Round 94)
- detectFromPackageJson with scoped package name (@scope/pkg@version)
  returns null because split('@')[0] yields empty string
- getPackageManager skips empty string CLAUDE_PACKAGE_MANAGER via
  falsy short-circuit (distinct from unknown PM name test)
- session-end buildSummarySection includes Tools Used but omits
  Files Modified when transcript has only Read/Grep tools

Total tests: 842
2026-02-13 14:44:40 -08:00
..
evaluate-session.test.js test: add 3 tests for typeof guard, empty package.json, and learned_skills_path override (round 86) 2026-02-13 12:23:34 -08:00
hooks.test.js test: add 3 tests for scoped pkg detection, empty env var, and tools-without-files (Round 94) 2026-02-13 14:44:40 -08:00
suggest-compact.test.js test: add 3 tests for suggest-compact, session-aliases, typecheck (Round 64) 2026-02-13 06:59:08 -08:00