AppFlowy/backend/tests/api/ws.rs
2021-09-17 19:03:46 +08:00

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();
}