@devries-cameron20 / t3code Mirror · read-only / commits / 73776d4e52
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 24, 14:00 UTC

test: remove static presentation snapshots (#9008)

Co-authored-by: t3-code[bot] <269035359+t3-code[bot]@users.noreply.github.com>

t3-code[bot] committed Sep 1, 2026 at 07:44 UTC 73776d4e52087331245e82ebf3c053ae0991935d
2 files changed -43
apps/mobile/src/lib/typography.test.ts deleted
-20
@@ -1,20 +0,0 @@
1 -import { describe, expect, it } from "vite-plus/test";
2 -
3 -import { MOBILE_CODE_SURFACE, MOBILE_TYPOGRAPHY } from "./typography";
4 -
5 -describe("mobile typography", () => {
6 - it("uses the intentional mobile font scale anchored at a 16pt body", () => {
7 - expect(Object.values(MOBILE_TYPOGRAPHY).map(({ fontSize }) => fontSize)).toEqual([
8 - 11, 12, 13, 14, 16, 18, 21, 26, 30,
9 - ]);
10 - expect(MOBILE_TYPOGRAPHY.body).toEqual({ fontSize: 16, lineHeight: 23 });
11 - });
12 -
13 - it("uses caption-sized code with a compact readable row height", () => {
14 - expect(MOBILE_CODE_SURFACE).toMatchObject({
15 - fontSize: MOBILE_TYPOGRAPHY.caption.fontSize,
16 - lineNumberFontSize: MOBILE_TYPOGRAPHY.micro.fontSize,
17 - rowHeight: 22,
18 - });
19 - });
20 -});
apps/web/src/components/ui/menu.test.tsx deleted
-23
@@ -1,23 +0,0 @@
1 -import { renderToStaticMarkup } from "react-dom/server";
2 -import { describe, expect, it } from "vite-plus/test";
3 -
4 -import { Menu, MenuRadioGroup, MenuRadioItem } from "./menu";
5 -
6 -describe("menu radio item geometry", () => {
7 - it("keeps radio-item icons on the same text grid as menu items", () => {
8 - const html = renderToStaticMarkup(
9 - <Menu>
10 - <MenuRadioGroup value="merge">
11 - <MenuRadioItem value="merge">
12 - <span className="flex items-center gap-2">
13 - <svg aria-hidden className="size-3.5" />
14 - <span>Merge</span>
15 - </span>
16 - </MenuRadioItem>
17 - </MenuRadioGroup>
18 - </Menu>,
19 - );
20 -
21 - expect(html).toContain("-mx-0.5");
22 - });
23 -});