From 01f86a39c93790c06d6a6dbead74b133d2448877 Mon Sep 17 00:00:00 2001 From: "t3-code[bot]" <269035359+t3-code[bot]@users.noreply.github.com> Date: Tue, 10 Nov 2026 13:36:31 +0000 Subject: [PATCH] test: remove redundant short-string truncation test --- packages/shared/src/String.test.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/packages/shared/src/String.test.ts b/packages/shared/src/String.test.ts index ae06e4153e4fb..d6892beb24610 100644 --- a/packages/shared/src/String.test.ts +++ b/packages/shared/src/String.test.ts @@ -3,10 +3,6 @@ import { describe, expect, it } from "vite-plus/test"; import { truncate } from "./String.ts"; describe("truncate", () => { - it("leaves short text alone", () => { - expect(truncate("hello", 50)).toBe("hello"); - }); - it("cuts by Unicode code point so emoji stay whole", () => { expect(truncate("👍👍👍", 5)).toBe("👍👍👍"); expect(truncate("👍👍👍👍", 3)).toBe("👍👍👍...");