import { describe, expect, test } from "vitest"; import { renderReactEmail } from "../render-helpers.js"; import { defaultMailBrand } from "../_layout/theme.js"; import { TenantNotificationEmail } from "./TenantNotification.js"; describe("TenantNotificationEmail default action label", () => { test("uses the built-in 'Open' label when an actionUrl is present but no label override is given", () => { const { html } = renderReactEmail( ); expect(html).toContain('href="https://app.example.com/tickets/42"'); expect(html).toContain(">Open