AppFlowy/frontend/rust-lib/event-integration-test/tests/document/mod.rs
Nathan.fooo 122a392bf8
chore: update client api (#5208)
* chore: update client api

* chore: rename test target

* chore: fix test
2024-04-26 18:00:56 +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()
}