feature/test-coverage #27

Merged
ilia merged 12 commits from feature/test-coverage into main 2026-02-22 07:46:55 +00:00
Showing only changes of commit 51ea8a9902 - Show all commits

View File

@@ -18,7 +18,7 @@ describe('smoothScroll', () => {
beforeEach(() => {
// Mock scrollIntoView
mockScrollIntoView = vi.fn();
HTMLElement.prototype.scrollIntoView = mockScrollIntoView;
HTMLElement.prototype.scrollIntoView = mockScrollIntoView as (arg?: boolean | ScrollIntoViewOptions) => void;
// Mock history.pushState
mockPushState = vi.fn();