Fix cmd-k left

This commit is contained in:
Conrad Irwin 2024-01-22 08:38:20 -07:00
parent 7ec4f22202
commit c5d7c8e122
4 changed files with 62 additions and 15 deletions

View file

@ -127,6 +127,11 @@ impl TestServer {
(client_a, client_b, channel_id)
}
pub async fn start1<'a>(cx: &'a mut TestAppContext) -> TestClient {
let mut server = Self::start(cx.executor().clone()).await;
server.create_client(cx, "user_a").await
}
pub async fn reset(&self) {
self.app_state.db.reset();
let epoch = self