Hide "Recently Used" section of model selector if there are less than 5 models

This commit is contained in:
Alex Gleason committed 2025-09-20 12:56:29 -05:00
1 parent 050d24fcb7
commit 60f70db7b4
3 files changed
+263 -2

No files matched your search

+3
View File
@@ -35,6 +35,9 @@ Object.defineProperty(window, 'scrollTo', {
value: vi.fn(),
});
// Mock Element.scrollIntoView
Element.prototype.scrollIntoView = vi.fn();
// Mock IntersectionObserver
global.IntersectionObserver = vi.fn().mockImplementation((_callback) => ({
observe: vi.fn(),