Open-source Grok Bot alternative for named AI teammates. Local-first desktop, web, and mobile clients with per-bot tools, instructions, and memory. Independent fork of T3 Code.
import { renderToStaticMarkup } from "react-dom/server";
import { describe, expect, it } from "vite-plus/test";
import { UsagePlanMeters } from "./UsageCharts";
describe("UsagePlanMeters", () => {
it("renders the ChatGPT logo without a public asset request", () => {
const markup = renderToStaticMarkup(
<UsagePlanMeters
limits={{
provider: "openai-codex",
status: "ok",
plan: "Pro",
message: null,
windows: [],
}}
/>,
);
expect(markup).toContain("ChatGPT · Pro");
expect(markup).toContain("<svg");
expect(markup).not.toContain("/provider-icons/openai.svg");
});
});