mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
11 lines
278 B
Rust
11 lines
278 B
Rust
use crate::helper::TestServer;
|
|
use flowy_ws::WsController;
|
|
|
|
#[actix_rt::test]
|
|
async fn ws_connect() {
|
|
let server = TestServer::new().await;
|
|
let mut controller = WsController::new();
|
|
let addr = server.ws_addr();
|
|
let _ = controller.connect(addr).await.unwrap();
|
|
}
|