Refresh HiveGrid Cloud reference snapshot

This commit is contained in:
david committed 2026-08-03 15:31:14 +02:00
1 parent 5e99e14772
commit 7f88026f79
5955 files changed
+1177325 -188362

No files matched your search

@@ -80,7 +80,7 @@ function getCategoryUrl({ kb, category, params }: { kb: { slug: string; basePath
return `${kbUrl}/categories/${category.slug}`;
}
function getCategoryArticlesBySections({ kb, category }: { kb: KnowledgeBaseDto; category: KbCategoryDto }) {
function getCategoryArticlesBySections({ kb: _kb, category }: { kb: KnowledgeBaseDto; category: KbCategoryDto }) {
let sections: {
section: KbCategorySectionDto | null;
articles: {
@@ -81,6 +81,14 @@ describe("DefaultKbsTemplate content", () => {
expect(JSON.stringify(DefaultKbsTemplate.SAMPLE_DE)).not.toContain("Back to site");
});
it("keeps content templates independent from the expanded UI locale catalog", () => {
expect(Object.keys(DefaultKbsTemplate).sort()).toEqual(["SAMPLE", "SAMPLE_DE", "SAMPLE_EN"]);
expect(DefaultKbsTemplate).not.toHaveProperty("SAMPLE_PL");
expect(DefaultKbsTemplate).not.toHaveProperty("SAMPLE_RU");
expect(DefaultKbsTemplate).not.toHaveProperty("SAMPLE_UK");
expect(DefaultKbsTemplate).not.toHaveProperty("SAMPLE_HU");
});
it("keeps German knowledge-base copy generic while preserving the Hilfe-Center product title", () => {
const deSample = DefaultKbsTemplate.SAMPLE_DE;
const deCopy = JSON.stringify(deSample);