From 502c29c6bdd6c0d3568fcd13190c755bb5ec2738 Mon Sep 17 00:00:00 2001 From: Will Miao Date: Tue, 23 Dec 2025 11:00:08 +0800 Subject: [PATCH] test: add prompt filter option to recipes page tests --- tests/frontend/pages/recipesPage.test.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/frontend/pages/recipesPage.test.js b/tests/frontend/pages/recipesPage.test.js index 63b456ec..fb4a1b1f 100644 --- a/tests/frontend/pages/recipesPage.test.js +++ b/tests/frontend/pages/recipesPage.test.js @@ -110,7 +110,7 @@ describe('RecipeManager', () => { initializeAppMock.mockResolvedValue(undefined); initializePageFeaturesMock.mockResolvedValue(undefined); refreshVirtualScrollMock.mockReset(); - refreshVirtualScrollMock.mockImplementation(() => {}); + refreshVirtualScrollMock.mockImplementation(() => { }); refreshRecipesMock.mockResolvedValue('refreshed'); getSessionItemMock.mockImplementation((key) => { @@ -121,7 +121,7 @@ describe('RecipeManager', () => { }; return map[key] ?? null; }); - removeSessionItemMock.mockImplementation(() => {}); + removeSessionItemMock.mockImplementation(() => { }); renderRecipesPage(); @@ -158,6 +158,7 @@ describe('RecipeManager', () => { tags: true, loraName: true, loraModel: true, + prompt: true, recursive: true, });