Something went wrong. Try again.
My website. cameron.stream
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445import test from "node:test";import assert from "node:assert/strict";import { BrinewakeSpecimen } from "./components/brinewake-specimen.tsx";import { otherEntries } from "./components/other-index.tsx";import { Shell } from "./components/shell.tsx";
test("Brinewake uses the established full-width type specimen shell", async () => { const html = ( await ( <Shell title="Brinewake typeface" wide stylesheets={["/public/brinewake.css"]} > <BrinewakeSpecimen /> </Shell> ) ).toString(); assert.ok(html.includes('class="page-container page-container-wide"')); assert.ok(html.includes("<h1>Brinewake</h1>")); assert.ok(html.includes("Designed with Co and Letta Code")); assert.ok(html.includes("Brinewake · Co / Letta Code · 2026")); assert.doesNotMatch(html, /Astra|0[1-5] \/ /); assert.ok(html.includes('id="brine-text"')); assert.ok(html.includes('id="brine-size"')); assert.ok(html.includes('aria-live="polite"')); assert.ok(html.includes("No accented letters or additional scripts yet.")); for (const file of [ "brinewake-regular.ttf", "brinewake-regular.woff2", "brinewake-source.py", "brinewake-license.txt", ]) { assert.ok(html.includes(`/public/fonts/${file}`)); } assert.ok(html.includes("Notes from the proofs")); assert.ok(!html.includes('name="robots"'));});
test("Other keeps existing fonts alongside the new original serif", () => { for (const href of ["/type", "/type/processional", "/type/brinewake"]) { assert.equal(otherEntries.filter((entry) => entry.href === href).length, 1); }});