Skip to content

A self-hostable bookmark-everything app (links, notes and images) with AI-based automatic tagging and full text search

fix(tests): Fix broken user setting test

Mohamed Bassem959da9a8980b
diff --git a/packages/trpc/routers/users.test.ts b/packages/trpc/routers/users.test.ts
index 2f75c8ce..21ee3a7b 100644
--- a/packages/trpc/routers/users.test.ts
+++ b/packages/trpc/routers/users.test.ts
@@ -115,6 +115,7 @@ describe("User Routes", () => {
expect(settings).toEqual({
bookmarkClickAction: "open_original_link",
archiveDisplayBehaviour: "show",
+ timezone: "UTC",
});
// Update settings
@@ -127,6 +128,7 @@ describe("User Routes", () => {
expect(updatedSettings).toEqual({
bookmarkClickAction: "expand_bookmark_preview",
archiveDisplayBehaviour: "show",
+ timezone: "UTC",
});
// Test invalid update (e.g., empty input, if schema enforces it)