Skip to content

Commit ab09dd7

Browse files
committed
specify home
1 parent d391bd0 commit ab09dd7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

extensions/wasm_bindgen/private/wasm_bindgen_test_runner.rs

+2
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,8 @@ fn main() {
106106
env.insert("TMP".to_string(), env["TEST_TMPDIR"].clone());
107107
env.insert("TEMP".to_string(), env["TEST_TMPDIR"].clone());
108108
env.insert("TMPDIR".to_string(), env["TEST_TMPDIR"].clone());
109+
env.insert("HOME".to_string(), env["TEST_TMPDIR"].clone());
110+
env.insert("USERPROFILE".to_string(), env["TEST_TMPDIR"].clone());
109111

110112
let webdriver_args: Vec<String> = serde_json::from_str(
111113
&env::var("WEBDRIVER_ARGS").expect("Failed to find WEBDRIVER_ARGS env var."),

0 commit comments

Comments
 (0)