Lie about DMs in tests
parent
044c223899
commit
85af3ebcc0
|
@ -56,6 +56,11 @@ describe('RoomList', () => {
|
|||
|
||||
DMRoomMap.makeShared();
|
||||
|
||||
// Lie to the room list store about DMs not existing
|
||||
DMRoomMap.getUserIdForRoomId = () => {
|
||||
return null;
|
||||
}
|
||||
|
||||
parentDiv = document.createElement('div');
|
||||
document.body.appendChild(parentDiv);
|
||||
|
||||
|
|
Loading…
Reference in New Issue