1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-25 15:29:32 -05:00

test: fix flaky resolve_import_map_flags_take_precedence test (#18182)

Trying to fix https://github.com/denoland/deno/issues/18180
This commit is contained in:
Bartek Iwańczuk 2023-03-14 07:37:15 -04:00 committed by GitHub
parent c47075ba4d
commit 6f308b3af0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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();