test: add internal/socket_list tests
Add tests of internal/socket_list.js
and increase its coverage.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
commit message follows commit guidelines
Affected core subsystem(s)
test