import { describe, expect, test } from "bun:test"; import { renderToStaticMarkup } from "react-dom/server"; import { DetailSection } from "./detail-sheet"; import { DetailAside, DetailAsideItem, DetailMeta, DetailPage, DetailPageBody, DetailPageHeader, } from "./detail-page"; describe("DetailPage anatomy", () => { test("renders the back link, a focusable h1, chips, the joined meta line and tabs", () => { const html = renderToStaticMarkup( {} }}> Organization} meta={["4 variables", null, "updated 3 days ago"]} actions={} tabs={