You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-11-29 16:43:09 +03:00
Don't send events all the way via the mock HTTP backend: we're not trying to test that here. This meant we weren't actually getting into the right state because the request to send the invite never actually returned. Now this works, we need to clear the invite timer otherwise jest has a timer hanging around at the end of the test (plus we should be doing it anyway).