aboutsummaryrefslogtreecommitdiff
path: root/test-suite/unit/grant-scope.test.mjs
diff options
context:
space:
mode:
Diffstat (limited to 'test-suite/unit/grant-scope.test.mjs')
-rw-r--r--test-suite/unit/grant-scope.test.mjs2
1 files changed, 1 insertions, 1 deletions
diff --git a/test-suite/unit/grant-scope.test.mjs b/test-suite/unit/grant-scope.test.mjs
index 7717131..fd67508 100644
--- a/test-suite/unit/grant-scope.test.mjs
+++ b/test-suite/unit/grant-scope.test.mjs
@@ -21,7 +21,7 @@ function piProcess(env) {
const fakeProcess = Object.create(process, { env: { value: { ...env, PI_CHROME_BRIDGE_PORT: "0" } } });
const context = vm.createContext({
process: fakeProcess, console, Buffer, URL, AbortController, fetch,
- setTimeout, clearTimeout, setInterval, clearInterval,
+ setTimeout, clearTimeout, setInterval, clearInterval, setImmediate,
});
let runtime;
// A grant an earlier runtime left on globalThis, e.g. a build that saved the env grant there.