Update hivegrid-cloud reference to latest main

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
davidandClaude Fable 5 committed 2026-07-08 16:15:37 +02:00
1 parent e98d38e716
commit 7b21524c86
3781 files changed
+373484 -225607

No files matched your search

@@ -0,0 +1,18 @@
import { describe, expect, test } from "vitest";
import { buildBrand, defaultMailBrand } from "./render.js";
describe("buildBrand", () => {
test("returns the default brand when no override is supplied", () => {
expect(buildBrand()).toEqual(defaultMailBrand);
});
test("merges a partial override on top of the default brand", () => {
const brand = buildBrand({ productName: "Acme", primaryColor: "#123456" });
expect(brand.productName).toBe("Acme");
expect(brand.primaryColor).toBe("#123456");
// Untouched tokens fall back to the defaults.
expect(brand.supportEmail).toBe(defaultMailBrand.supportEmail);
expect(brand.linkColor).toBe(defaultMailBrand.linkColor);
});
});