use parking_lot::Once;
pub fn setup() {
static INIT: Once = Once::new();
INIT.call_once(|| {
let dir = std::env::temp_dir().join(format!(
"vsdb_test_{}_{}",
env!("CARGO_PKG_NAME"),
rand::random::<u128>()
));
vsdb::vsdb_configure(vsdb::VsdbOptions::new(dir)).unwrap();
});
}