mirror of
https://github.com/willmiao/ComfyUI-Lora-Manager.git
synced 2026-03-21 21:22:11 -03:00
test: add prompt filter option to recipes page tests
This commit is contained in:
@@ -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,
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user