Files
community-rule/tests/unit/privacyRetention.test.ts
T
adilallo 27d74e510c Show Login and Ask an organizer sent and error states.
Connect the live modals to the drawn sent, expired, invalid-email, and send-failed screens, pin the phone footer above the keyboard, and send the light login email.
2026-11-11 16:55:09 -07:00

12 lines
442 B
TypeScript

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`);
});
});