authorgravatar for 269035359+t3-code[bot]@users.noreply.github.comt3-code[bot] <269035359+t3-code[bot]@users.noreply.github.com> 2026-09-01 07:44:20+00:00
committergravatar for noreply@github.comGitHub <noreply@github.com> 2026-09-01 07:44:20+00:00
log73776d4e52087331245e82ebf3c053ae0991935d
treea38f0642524f8c8df99ecd7eb34d3a8348c2ab1d
parent0947c30e6946b2ad6d6cd518fd44292e75e834e8
signature Signed by PGP key B5690EEEBB952194

test: remove static presentation snapshots (#9008)

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

2 files changed, 0 insertions(+), 43 deletions(-)

apps/mobile/src/lib/typography.test.ts deleted-20
......@@ -1,20 +0,0 @@
1import { describe, expect, it } from "vite-plus/test";
2
3import { MOBILE_CODE_SURFACE, MOBILE_TYPOGRAPHY } from "./typography";
4
5describe("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 @@
1import { renderToStaticMarkup } from "react-dom/server";
2import { describe, expect, it } from "vite-plus/test";
3
4import { Menu, MenuRadioGroup, MenuRadioItem } from "./menu";
5
6describe("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});