postmark_email_api
(doesn't need docs) that defaults to the currently hardcoded "https://api.postmarkapp.com/email"
. Then tests can start a dummy server and point the broker at it. (In the broker postmark code, we can then also get rid of the hacky is_test_request
path.)
if (TEST_MAILER === "mailgun") { ... }
So really, the question here is: do we support the use case of using the public suffix list on arbitrary inputs, or do we only support the use case of determining the public suffix for a domain which is in the DNS?