mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-09-12 13:48:58 +02:00
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:
co-authored by
Claude Fable 5.1
parent
a02e83e48c
commit
b9189953d3
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user