feat: add assessment, privacy and support flows

This commit is contained in:
TakuyaYagam1 committed 2026-10-08 08:08:25 +03:00
1 parent ee3738ee73
commit e4f24fa202
339 files changed
+56454 -1126

No files matched your search

@@ -0,0 +1,21 @@
import { describe, expect, it } from "vitest";
import { supportCaseStatusLabels, supportTargetDescription } from "./presentation";
describe("support case presentation", () => {
it("describes operational goals without presenting them as legal deadlines", () => {
expect(
supportTargetDescription({
kind: "operational_goal",
business_days: 5,
due_at: "2026-10-13T09:00:00Z",
answered_at: null,
late: false,
policy_version: 2,
}),
).toMatch(/операционная цель, не юридический срок/);
});
it("labels manual assessment as waiting for an expert", () => {
expect(supportCaseStatusLabels.waiting_expert).toBe("Ожидает эксперта");
});
});