(&mut self, id: &str, key: String, value: Any)
| 197 | } |
| 198 | |
| 199 | pub async fn insert(&mut self, id: &str, key: String, value: Any) { |
| 200 | self |
| 201 | .collab_by_id |
| 202 | .get(id) |
| 203 | .as_ref() |
| 204 | .unwrap() |
| 205 | .write() |
| 206 | .await |
| 207 | .insert(&key, value); |
| 208 | } |
| 209 | |
| 210 | pub async fn assert_collab(&mut self, id: &str, expected: JsonValue) { |
| 211 | let object_id = |
no test coverage detected