@devries-cameron20 / t3code-1 / commits / f708f63fa9
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

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

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

t3-code[bot] committed Aug 20, 2026 at 00:07 UTC f708f63fa9bcd7e51f1f62531f6f9ed966b71807
1 file changed -2
apps/web/src/timestampFormat.test.ts
-2
@@ -197,12 +197,10 @@ describe("formatDayAwareTimestamp", () => {
197
198 describe("invalid timestamp inputs", () => {
199 it("returns an empty timestamp instead of throwing", () => {
200 - expect(() => formatTimestamp("not-a-date", "12-hour")).not.toThrow();
200 expect(formatTimestamp("not-a-date", "12-hour")).toBe("");
201 });
202
203 it("returns an empty short timestamp instead of throwing", () => {
205 - expect(() => formatShortTimestamp("not-a-date", "12-hour")).not.toThrow();
204 expect(formatShortTimestamp("not-a-date", "12-hour")).toBe("");
205 });
206