Files
bitvid/tests/utils
google-labs-jules[bot]andPR0M3TH3AN ed828aec62 test: add unit tests for pointerArrayToKey utility
Introduces comprehensive unit tests for `pointerArrayToKey` in `tests/utils/pointer.test.mjs`.
The tests cover:
- Invalid inputs (non-arrays, short arrays)
- Type validation ('a' and 'e' support)
- Value normalization (trimming and lowercasing)
- Optional relay handling (trimming and type checking)
- Error conditions (empty values, non-string inputs)

These tests use the native Node.js test runner and follow existing project patterns.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-26 17:25:21 +00:00
..