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 <noreply@anthropic.com>
This commit is contained in:
tdurieux
2026-09-08 21:02:52 +02:00
co-authored by Claude Fable 5.1
parent a02e83e48c
commit b9189953d3
-4
View File
@@ -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);