use std::path::{Path, PathBuf}; use forge_core::Store; pub fn db_path(dir: &tempfile::TempDir) -> PathBuf { dir.path().join("forge.db") } pub async fn open_store(path: &Path) -> Store { Store::open(path).await.expect("open store") }