import { describe, expect, it } from "vitest"; import login from "../../messages/en/pages/login.json"; import { MAGIC_LINK_TTL_MINUTES } from "../../lib/privacyRetention"; describe("privacy retention copy", () => { it("states the login link lifetime in the sent state", () => { expect( login.sentBody.replace("{minutes}", String(MAGIC_LINK_TTL_MINUTES)), ).toContain(`works for ${MAGIC_LINK_TTL_MINUTES} minutes`); }); });