Menu
popagent
publicLatest change 2521e6b2fa3380b29405cc89bb2f6fd2624b28bb - Show deploy-managed application version by AkurAI Build
import { describe, expect, test } from "bun:test";
import { renderToStaticMarkup } from "react-dom/server";
import { PopagentBrand } from "./Chat";
describe("PopagentBrand", () => {
test("shows the semantic application version below the logo", () => {
const html = renderToStaticMarkup(<PopagentBrand version="1.2.3" />);
expect(html).toContain("popagent");
expect(html).toContain("v1.2.3");
expect(html.indexOf("popagent")).toBeLessThan(html.indexOf("v1.2.3"));
});
});