GitNexus/gitnexus-web/test
jreakin 2bd04fe2c4 test: add positive/negative tests for O(1) lookup optimizations
8 tests verifying the data structures underlying performance changes:

nodeById Map (O(1) lookup):
  + Map.get returns correct node by ID
  + duplicate IDs: last wins
  - non-existent ID returns undefined
  - empty Map returns undefined

Set.has (O(1) highlight matching):
  + present IDs return true
  - absent IDs return false
  + handles IDs with colons, dots, slashes
  - case-sensitive matching

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-23 10:16:33 -05:00
..
unit test: add positive/negative tests for O(1) lookup optimizations 2026-03-23 10:16:33 -05:00
setup.ts test: add positive and negative tests for all 4 bug fixes 2026-03-23 03:48:27 -05:00