mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-09-21 18:53:37 +00:00
611e606513
Tests for all 9 functions handling Docker host identification: - uniqueNonEmptyStrings: dedupe with order preservation - sanitizeDockerHostSuffix: string cleaning for IDs - tokenHintFromRecord: redacted token hints - dockerHostIDExists: ID existence check - dockerHostSuffixCandidates: candidate suffix generation - fallbackDockerHostID: hash-based ID generation - findMatchingDockerHost: host matching by various criteria - generateDockerHostIdentifier: unique ID generation with suffixes - resolveDockerHostIdentifier: main resolver orchestration 86 test cases covering edge cases (nil, empty, whitespace), Unicode handling, and complex matching scenarios.