summaryrefslogtreecommitdiff
path: root/tests/unit_node/vm_test.ts
diff options
context:
space:
mode:
authorsnek <snek@deno.com>2024-08-06 14:52:53 +0200
committerGitHub <noreply@github.com>2024-08-06 12:52:53 +0000
commit897159dc6e1b2319cf2f5f09d8d6cecc0d3175fa (patch)
treecfe4a043d1fc102a4e051b99c7fcbef7b79bbb91 /tests/unit_node/vm_test.ts
parentc0e9512b39a4ed3713d1fd9b28469d0edf68f578 (diff)
feat: vm rewrite (#24596)
rewrite vm implementation to increase compat. vm.Module+importModuleDynamically callbacks should be added in a followup.
Diffstat (limited to 'tests/unit_node/vm_test.ts')
-rw-r--r--tests/unit_node/vm_test.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit_node/vm_test.ts b/tests/unit_node/vm_test.ts
index 4c370931d..85b955663 100644
--- a/tests/unit_node/vm_test.ts
+++ b/tests/unit_node/vm_test.ts
@@ -128,7 +128,7 @@ Deno.test({
const obj = {};
assertEquals(isContext(obj), false);
assertEquals(isContext(globalThis), false);
- const sandbox = runInNewContext("{}");
+ const sandbox = runInNewContext("({})");
assertEquals(isContext(sandbox), false);
},
});