mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
13 lines
357 B
Rust
13 lines
357 B
Rust
use crate::document::helper::{DocScript, DocumentTest};
|
|
use tokio::time::{interval, Duration};
|
|
|
|
#[actix_rt::test]
|
|
async fn ws_connect() {
|
|
let test = DocumentTest::new().await;
|
|
test.run_scripts(vec![DocScript::SendText("abc")]).await;
|
|
|
|
let mut interval = interval(Duration::from_secs(10));
|
|
interval.tick().await;
|
|
interval.tick().await;
|
|
}
|