From a597053bf5d657089e3df5bbd0d2d69164e27583 Mon Sep 17 00:00:00 2001 From: "Dylan M. Taylor" Date: Tue, 10 Nov 2026 22:59:44 +0000 Subject: [PATCH] test: allow script writes in script_imports_footage_and_saves --- crates/host/src/tests.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/host/src/tests.rs b/crates/host/src/tests.rs index f628ce4e4..de43d9dc2 100644 --- a/crates/host/src/tests.rs +++ b/crates/host/src/tests.rs @@ -546,6 +546,7 @@ fn script_imports_footage_and_saves() { std::fs::create_dir_all(&dir).unwrap(); let q = |n: &str| serde_json::to_string(&dir.join(n).to_string_lossy()).unwrap(); let mut s = super::session(); + s.execute("prefs.set", json!({"key": "scripting.allowScriptsWriteFiles", "value": true})).unwrap(); let code = format!( r#" var c = app.project.items.addComp("Src", 32, 32, 1, 1, 10);