matrix-js-sdk
f5ff5dc3 - Fix name recalculation tests by not relying on mocking

Commit
7 years ago
Fix name recalculation tests by not relying on mocking I tried keeping the mocking but it would take too much boilerplate code to make the tests work again, and even more to write the tests for room name with lazy loading. Just testing everything with a real implementation is not really a unit test any more, but proved way easier. It'll be somewhat annoying these tests will fail if there is something wrong in roomstate (not room), but that's the trade-off
Author
Committer
Parents
Loading