rcourtman
7d62fb6f1c
Add unit tests for extractHostAndPort utility function
27 test cases covering URL/host:port parsing for node configuration:
- Scheme stripping (http://, https://)
- Path removal from URLs
- IPv4 addresses with and without ports
- IPv6 addresses (bracketed with port, unbracketed)
- Edge cases (empty string, localhost, port-only)
- Error cases (malformed brackets)
Documents current behavior: bracketed IPv6 without port returns error
(net.SplitHostPort limitation).
2025-12-01 01:19:10 +00:00
..
2025-10-14 16:48:22 +00:00
2025-11-21 22:07:00 +00:00
2025-11-30 23:04:44 +00:00
2025-10-23 11:40:31 +00:00
2025-11-27 10:26:26 +00:00
2025-11-30 22:54:28 +00:00
2025-11-15 21:49:51 +00:00
2025-10-25 16:00:37 +00:00
2025-10-22 17:42:52 +00:00
2025-12-01 01:19:10 +00:00
2025-11-30 23:53:41 +00:00
2025-11-29 18:35:27 +00:00
2025-11-19 20:12:19 +00:00
2025-11-17 14:25:46 +00:00
2025-11-17 14:25:46 +00:00
2025-11-27 10:16:08 +00:00
2025-11-30 14:55:47 +00:00
2025-11-27 09:12:17 +00:00
2025-11-30 13:34:08 +00:00
2025-11-06 13:48:28 +00:00
2025-11-30 10:05:33 +00:00
2025-11-27 10:12:48 +00:00
2025-10-11 23:29:47 +00:00
2025-11-29 17:06:18 +00:00
2025-11-29 17:06:18 +00:00
2025-11-27 08:59:01 +00:00
2025-11-06 13:54:26 +00:00
2025-10-11 23:29:47 +00:00
2025-11-29 20:20:15 +00:00
2025-11-24 14:28:09 +00:00
2025-11-30 02:48:05 +00:00
2025-10-21 12:37:39 +00:00
2025-11-30 14:33:38 +00:00
2025-11-27 08:34:31 +00:00
2025-11-06 16:46:30 +00:00
2025-11-29 22:03:15 +00:00
2025-11-29 22:03:15 +00:00
2025-11-22 09:44:03 +00:00
2025-11-22 09:44:03 +00:00
2025-11-22 09:44:03 +00:00
2025-11-30 13:48:23 +00:00
2025-11-15 21:49:51 +00:00
2025-11-30 04:33:59 +00:00
2025-11-07 10:18:44 +00:00
2025-10-11 23:29:47 +00:00
2025-12-01 00:06:32 +00:00
2025-11-27 08:31:50 +00:00
2025-11-24 15:16:14 +00:00
2025-11-20 15:45:21 +00:00
2025-11-30 15:34:32 +00:00
2025-11-27 10:12:48 +00:00
2025-11-27 10:12:48 +00:00
2025-11-29 18:06:19 +00:00
2025-11-24 07:45:21 +00:00
2025-11-30 23:33:51 +00:00
2025-10-23 11:40:31 +00:00
2025-11-24 07:45:21 +00:00
2025-11-27 09:12:17 +00:00
2025-11-30 23:18:34 +00:00
2025-11-27 09:12:17 +00:00
2025-11-18 21:30:04 +00:00
2025-12-01 01:05:07 +00:00
2025-11-29 21:47:22 +00:00
2025-11-29 21:47:22 +00:00
2025-11-17 14:25:46 +00:00
2025-11-30 14:07:04 +00:00
2025-11-30 20:37:58 +00:00
2025-11-27 08:37:22 +00:00
2025-11-30 15:05:37 +00:00
2025-11-26 10:05:43 +00:00
2025-11-30 15:05:37 +00:00
2025-11-15 16:43:42 +00:00