AppFlowy/frontend/rust-lib/event-integration/tests/document/mod.rs
Nathan.fooo 76416cfdba
test: Import folder test (#4321)
* fix: import old version appflowy data

* chore: add 037 test

* chore: add default appflowy cloud url

* chore: bump collab
2024-01-07 11:12:05 +08:00

17 lines
320 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()
}