A self-hostable bookmark-everything app (links, notes and images) with AI-based automatic tagging and full text search
fix(tests): fix the user setting tests
Mohamed Bassem258bebe0ae5e
diff --git a/packages/trpc/routers/users.test.ts b/packages/trpc/routers/users.test.tsindex 557d025d..27d6c2d6 100644--- a/packages/trpc/routers/users.test.ts+++ b/packages/trpc/routers/users.test.ts@@ -163,6 +163,10 @@ describe("User Routes", () => {readerFontFamily: null,readerFontSize: null,readerLineHeight: null,++ // AI Settings+ autoSummarizationEnabled: null,+ autoTaggingEnabled: null,});// Update settings@@ -176,6 +180,10 @@ describe("User Routes", () => {readerFontFamily: "serif",readerFontSize: 12,readerLineHeight: 1.5,++ // AI Settings+ autoSummarizationEnabled: true,+ autoTaggingEnabled: true,});// Verify updated settings@@ -192,6 +200,10 @@ describe("User Routes", () => {readerFontFamily: "serif",readerFontSize: 12,readerLineHeight: 1.5,++ // AI Settings+ autoSummarizationEnabled: true,+ autoTaggingEnabled: true,});// Test invalid update (e.g., empty input, if schema enforces it)