diff --git a/cli/args/mod.rs b/cli/args/mod.rs index 25a1514f39..a624dcc799 100644 --- a/cli/args/mod.rs +++ b/cli/args/mod.rs @@ -1247,7 +1247,7 @@ mod test { let config_text = r#"{ "importMap": "import_map.json" }"#; - let cwd = &PathBuf::from("/"); + let cwd = &std::env::current_dir().unwrap(); let config_specifier = ModuleSpecifier::parse("file:///deno/deno.jsonc").unwrap(); let config_file = ConfigFile::new(config_text, &config_specifier).unwrap();