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

Co-authored-by: t3-code[bot] <269035359+t3-code[bot]@users.noreply.github.com>
This commit is contained in:
t3-code[bot] authored and GitHub committed 2026-08-20 00:07:32 -04:00
1 parent 4a9edff4c1
commit f708f63fa9
1 file changed
-2
-2
View File
@@ -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("");
});