Lie about DMs in tests

This commit is contained in:
Travis Ralston 2020-07-07 15:58:15 -06:00
parent 044c223899
commit 85af3ebcc0

View file

@ -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);