Scroll to top during navigation changes

This commit is contained in:
Alex Gleason committed 2025-06-01 07:32:33 -05:00
1 parent 98f3305aa1
commit ee42c84171
3 files changed
+20

No files matched your search

+6
View File
@@ -14,4 +14,10 @@ Object.defineProperty(window, 'matchMedia', {
removeEventListener: vi.fn(),
dispatchEvent: vi.fn(),
})),
});
// Mock window.scrollTo
Object.defineProperty(window, 'scrollTo', {
writable: true,
value: vi.fn(),
});