From f708f63fa9bcd7e51f1f62531f6f9ed966b71807 Mon Sep 17 00:00:00 2001 From: "t3-code[bot]" <269035359+t3-code[bot]@users.noreply.github.com> Date: Thu, 20 Aug 2026 00:07:32 -0400 Subject: [PATCH] test(web): remove redundant timestamp assertions (#7633) Co-authored-by: t3-code[bot] <269035359+t3-code[bot]@users.noreply.github.com> --- apps/web/src/timestampFormat.test.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/apps/web/src/timestampFormat.test.ts b/apps/web/src/timestampFormat.test.ts index f35c1c1fdbf855ea695240b973f60d951ebacfb8..7cc61e02c72efa70ee6ed5ef68df543b9bb6c31a 100644 --- a/apps/web/src/timestampFormat.test.ts +++ b/apps/web/src/timestampFormat.test.ts @@ -197,12 +197,10 @@ describe("formatDayAwareTimestamp", () => { describe("invalid timestamp inputs", () => { it("returns an empty timestamp instead of throwing", () => { - expect(() => formatTimestamp("not-a-date", "12-hour")).not.toThrow(); expect(formatTimestamp("not-a-date", "12-hour")).toBe(""); }); it("returns an empty short timestamp instead of throwing", () => { - expect(() => formatShortTimestamp("not-a-date", "12-hour")).not.toThrow(); expect(formatShortTimestamp("not-a-date", "12-hour")).toBe(""); }); -- 2.54.0