Best headless browser for AI agents. Lite, Fast, High-Compatibility. Built in Rust
Rust ai-agentsai-toolsbrowserbrowser-automationcloud-browserheadlessheadless-browserkitesurfplaywrightpuppeteerrustservoweb-crawlerweb-crawlingweb-scraperweb-scraping
test(indexeddb): isolate temporary directories across test processes
lanyue-llked55cf34e30b
diff --git a/moli-indexeddb/src/tests.rs b/moli-indexeddb/src/tests.rsindex 13f70f9be..bde7330be 100644--- a/moli-indexeddb/src/tests.rs+++ b/moli-indexeddb/src/tests.rs@@ -106,8 +106,12 @@ impl TestDir {.duration_since(UNIX_EPOCH).expect("system time should be after epoch").as_nanos();- let path = std::env::temp_dir().join(format!("moli-indexeddb-test-{}-{nanos}", unique));- fs::create_dir_all(&path).expect("test dir should be created");+ let path = std::env::temp_dir().join(format!(+ "moli-indexeddb-test-{}-{}-{nanos}",+ std::process::id(),+ unique+ ));+ fs::create_dir(&path).expect("test dir should be created");Self { path }}}