import { readFileSync } from "node:fs"; import { resolve } from "node:path"; import { describe, expect, it } from "vitest"; describe("ExecuteToolCallBlock typography", () => { it("uses sans typography for the collapsed command summary only", () => { const source = readFileSync( resolve(process.cwd(), "packages/ui/src/ToolCallBlocks/renderers/execute.tsx"), "utf8", ); expect(source).toContain(''); expect(source).not.toContain(''); expect(source).toContain( '
', ); }); });