Expand description
Mocks useful to reuse across different testing contexts.
Functionsยง
- Mount a Mock on the given server to handle the
GET /rooms/.../state/m.room.encryption
endpoint with an option whether it should return an encryption event or not. - Mount a mock for a redaction endpoint, that will always work and return a 200 response.