You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-28 15:22:05 +03:00
Fix forward dialog tests
Signed-off-by: Robin Townsend <robin@robin.town>
This commit is contained in:
@ -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: [],
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user