fix: mock DNS client in resolver tests (replaces PR #25) #27

Closed
clawbot wants to merge 1 commits from fix/mock-resolver-tests into main
1 Commits
Author SHA1 Message Date
user 9b93385f6f fix: mock DNS client in resolver tests to avoid network calls
Check / check (pull_request) Successful in 10m10s
Replace real DNS lookups in resolver_test.go with a mock DNSClient
that returns canned responses. Tests now run in ~1s instead of >30s
with no network dependency.

Uses the existing NewFromLoggerWithClient constructor and DNSClient
interface — no production code changes needed.
2026-02-21 02:57:23 -08:00