Files
community-rule/tests/unit/privacyRetention.test.ts
T
adilallo b4d0d085d3 Record the retention and hosting facts the privacy policy still has in brackets.
Login links work for 60 minutes, unused rows are gone within a day, logs last 14 days, and backups are 30 days on MEDLab Cloudron in the United States. Live /privacy stays on the current page until counsel reads this text.
2026-11-10 15:34:35 -07:00

12 lines
392 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.successBody).toContain(
`works for ${MAGIC_LINK_TTL_MINUTES} minutes`,
);
});
});