Skip to content

Open-source Grok Bot alternative for named AI teammates. Local-first desktop, web, and mobile clients with per-bot tools, instructions, and memory. Independent fork of T3 Code.

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

t3-code[bot]f708f63fa9bc
diff --git a/apps/web/src/timestampFormat.test.ts b/apps/web/src/timestampFormat.test.ts
index f35c1c1fd..7cc61e02c 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("");
});