Fix forward dialog tests

Signed-off-by: Robin Townsend <robin@robin.town>
This commit is contained in:
Robin Townsend 2021-06-01 20:36:28 -04:00
parent 59660df0cb
commit 992861a1cd

View file

@ -265,6 +265,8 @@ export function mkStubRoom(roomId = null, name) {
isSpaceRoom: jest.fn(() => false),
getUnreadNotificationCount: jest.fn(() => 0),
getEventReadUpTo: jest.fn(() => null),
getCanonicalAlias: jest.fn(),
getAltAliases: jest.fn().mockReturnValue([]),
timeline: [],
};
}