mirror of https://github.com/vector-im/riot-web
Fix forward dialog tests
Signed-off-by: Robin Townsend <robin@robin.town>pull/21833/head
parent
59660df0cb
commit
992861a1cd
|
@ -265,6 +265,8 @@ export function mkStubRoom(roomId = null, name) {
|
||||||
isSpaceRoom: jest.fn(() => false),
|
isSpaceRoom: jest.fn(() => false),
|
||||||
getUnreadNotificationCount: jest.fn(() => 0),
|
getUnreadNotificationCount: jest.fn(() => 0),
|
||||||
getEventReadUpTo: jest.fn(() => null),
|
getEventReadUpTo: jest.fn(() => null),
|
||||||
|
getCanonicalAlias: jest.fn(),
|
||||||
|
getAltAliases: jest.fn().mockReturnValue([]),
|
||||||
timeline: [],
|
timeline: [],
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue