ECC/tests/lib
Affaan Mustafa 45a0b62fcb test: add Round 103 edge-case tests (countInFile bool, grepFile numeric, loadAliases array)
- countInFile(file, false): boolean falls to else-return-0 type guard (utils.js:443)
- grepFile(file, 0): numeric pattern implicitly coerced via RegExp constructor,
  contrasting with countInFile which explicitly rejects non-string non-RegExp
- loadAliases with array aliases: typeof [] === 'object' bypasses validation
  at session-aliases.js:58, returning array instead of plain object

Total tests: 869 (all passing)
2026-02-13 16:08:47 -08:00
..
package-manager.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
session-aliases.test.js test: add Round 103 edge-case tests (countInFile bool, grepFile numeric, loadAliases array) 2026-02-13 16:08:47 -08:00
session-manager.test.js test: add 3 edge-case tests for looksLikePath heuristic, falsy title coercion, and checkbox regex (Round 102) 2026-02-13 16:02:18 -08:00
utils.test.js test: add Round 103 edge-case tests (countInFile bool, grepFile numeric, loadAliases array) 2026-02-13 16:08:47 -08:00