summaryrefslogtreecommitdiff
path: root/cli/js.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/js.rs')
-rw-r--r--cli/js.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/js.rs b/cli/js.rs
index 552f3842d..0db132bdb 100644
--- a/cli/js.rs
+++ b/cli/js.rs
@@ -29,7 +29,7 @@ mod tests {
..Default::default()
});
js_runtime
- .execute_script_static(
+ .execute_script(
"<anon>",
r#"
if (!(bootstrap.mainRuntime && bootstrap.workerRuntime)) {