From 5fcd955cc933a21f1e420d2722579318a3a8f64e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Burak=20Boduro=C4=9Flu?= <80620802+burakboduroglu@users.noreply.github.com> Date: Sun, 27 Sep 2026 10:17:41 +0300 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=A7=AA=20stub=20scrollIntoView=20i?= =?UTF-8?q?n=20the=20test=20setup?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - jsdom has no scrollIntoView; the insights runs table scrolls its report into view on row select, and 17 uncaught TypeErrors failed the CI test step although every test passed --- src/test-setup.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/test-setup.ts b/src/test-setup.ts index 1753ec7..057c016 100644 --- a/src/test-setup.ts +++ b/src/test-setup.ts @@ -5,6 +5,7 @@ if (typeof window !== "undefined") { // jsdom intentionally does not implement scrolling and logs a warning when // UI code calls it. Scrolling is outside the scope of these component tests. window.scrollTo = () => undefined; + Element.prototype.scrollIntoView = () => undefined; const values = new Map(); const storage = { get length() { return values.size; },