From 07d4d59b6944eea8bf9711dfcede1c22a4fe1b81 Mon Sep 17 00:00:00 2001 From: Nick Date: Fri, 23 Feb 2024 16:30:19 +0300 Subject: [PATCH] fix --- crates/nox-tests/tests/modules.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/crates/nox-tests/tests/modules.rs b/crates/nox-tests/tests/modules.rs index 8a0fe492c2..a8ebf3423a 100644 --- a/crates/nox-tests/tests/modules.rs +++ b/crates/nox-tests/tests/modules.rs @@ -41,13 +41,11 @@ async fn test_add_module_mounted_binaries() { "logger_enabled": true, "wasi": { "envs": json!({}), + "preopened_files": vec!["/tmp"], "mapped_dirs": json!({}), }, "mounted_binaries": json!({"cmd": "/usr/bin/curl"}) }); - - let a = config.to_string(); - println!("{}", a); let script = r#" (xor