feat(cms): add recovery history and operational reliability tools

This commit is contained in:
simoleo89
2026-09-09 21:57:56 +02:00
parent 89526af344
commit 1ef405be0a
92 changed files with 6384 additions and 267 deletions
+10
View File
@@ -0,0 +1,10 @@
import { expect, it } from "vitest";
import { articleInputField } from "./article-input";
it("maps correctable article failures and keeps conflicts global", () => {
expect(articleInputField("titleRequired")).toBe("title");
expect(articleInputField("summaryTooLong")).toBe("shortStory");
expect(articleInputField("publishDateRequired")).toBe("publishAt");
expect(articleInputField("editConflict")).toBeUndefined();
expect(articleInputField("articleNotFound")).toBeUndefined();
});