authorgravatar for 269035359+t3-code[bot]@users.noreply.github.comt3-code[bot] <269035359+t3-code[bot]@users.noreply.github.com> 2026-08-20 00:07:32-04:00
committergravatar for noreply@github.comGitHub <noreply@github.com> 2026-08-20 00:07:32-04:00
logf708f63fa9bcd7e51f1f62531f6f9ed966b71807
tree09df4d0a5c5bfa4d28e5dbed147133a1df1a9c52
parent4a9edff4c1093c1d31b7c97d6d1f32489ea035bd
signature Signed by PGP key B5690EEEBB952194

test(web): remove redundant timestamp assertions (#7633)

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

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

apps/web/src/timestampFormat.test.ts-2
...@@ -197,12 +197,10 @@ describe("formatDayAwareTimestamp", () => {...@@ -197,12 +197,10 @@ describe("formatDayAwareTimestamp", () => {
197197
198describe("invalid timestamp inputs", () => {198describe("invalid timestamp inputs", () => {
199 it("returns an empty timestamp instead of throwing", () => {199 it("returns an empty timestamp instead of throwing", () => {
200 expect(() => formatTimestamp("not-a-date", "12-hour")).not.toThrow();
201 expect(formatTimestamp("not-a-date", "12-hour")).toBe("");200 expect(formatTimestamp("not-a-date", "12-hour")).toBe("");
202 });201 });
203202
204 it("returns an empty short timestamp instead of throwing", () => {203 it("returns an empty short timestamp instead of throwing", () => {
205 expect(() => formatShortTimestamp("not-a-date", "12-hour")).not.toThrow();
206 expect(formatShortTimestamp("not-a-date", "12-hour")).toBe("");204 expect(formatShortTimestamp("not-a-date", "12-hour")).toBe("");
207 });205 });
208206