feat(cms): add recovery history and operational reliability tools
CI / check (push) Failing after 22s
CI / deploy (push) Skipped
CI / publish-container (push) Skipped

This commit is contained in:
Simo committed 2026-09-09 21:57:56 +02:00
1 parent 89526af344
commit 1ef405be0a
92 files changed
+6384 -267

No files matched your search

+4
View File
@@ -8,6 +8,10 @@ const state = vi.hoisted(() => ({
log: vi.fn(() => "news-error-1"),
notify: vi.fn(),
}));
vi.mock("@/features/history/server", () => ({
historySnapshot: async () => ({}),
recordHistory: vi.fn(),
}));
vi.mock("@/lib/admin/guard", () => ({
requirePermission: async () => ({ id: 1, username: "staff" }),
}));