import { expect, test } from "bun:test"; import { renderAlbumReadyEmail, emailBrowserPreview } from "./index"; test("gallery email escapes content and includes a plain-text alternative", () => { const message = renderAlbumReadyEmail({ to: "test@example.test", eventTitle: '', galleryUrl: "https://manyangles.test/e/demo" }); expect(message.html).not.toContain("