/** * Test fixture, on only with E2E_MAIL_RELAY_URL (e2e/mail-relay.spec.ts): points the mail service's client at * a stand-in the spec starts on this machine, so the spec can watch a built site enrol through its own confirm * route and send — without the real service. Never part of a real site: the starter drops `e2e/` and the lines * that use this file; a real site names no address (the plugin's own is used). */ export const E2E_MAIL_RELAY_URL = process.env.E2E_MAIL_RELAY_URL || undefined /** `iapl({ mail })` for the test, `undefined` (the plugin's defaults) otherwise. */ export const e2eMail = E2E_MAIL_RELAY_URL ? { relay: { retryBackoffMs: 50, url: E2E_MAIL_RELAY_URL } } : undefined