AppFlowy/frontend/rust-lib/event-integration/tests/document/mod.rs
Nathan.fooo d758e62c1a
chore: Bump collab (#5136)
* chore: bump collab

* chore: bump collab

* chore: bump collab

* chore: fix test

* chore: disable supabse test
2024-04-15 14:50:28 +08:00

17 lines
326 B
Rust

mod local_test;
mod af_cloud_test;
// #[cfg(feature = "supabase_cloud_test")]
// mod supabase_test;
use rand::{distributions::Alphanumeric, Rng};
pub fn generate_random_string(len: usize) -> String {
let rng = rand::thread_rng();
rng
.sample_iter(&Alphanumeric)
.take(len)
.map(char::from)
.collect()
}