From b9189953d356ca0f6f8d2176679e201dcd9e2cad Mon Sep 17 00:00:00 2001 From: tdurieux Date: Tue, 8 Sep 2026 21:02:52 +0200 Subject: [PATCH] test: drop unused timer globals from the dashboard sandbox ESLint's test config does not declare setTimeout and friends, so passing them into the vm sandbox failed the Lint job. Nothing the test exercises uses them. Co-Authored-By: Claude Fable 5.1 --- test/dashboard-ui.test.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/test/dashboard-ui.test.js b/test/dashboard-ui.test.js index 06ba5b9..5188b51 100644 --- a/test/dashboard-ui.test.js +++ b/test/dashboard-ui.test.js @@ -49,10 +49,6 @@ function loadFilters() { localStorage: { getItem: () => null, setItem() {} }, navigator: { language: "en-US" }, console, - setTimeout, - clearTimeout, - setInterval, - clearInterval, }; sandbox.window = sandbox; vm.createContext(sandbox);