1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-07-28 15:22:05 +03:00

room stub not having getVersion method broke tests

This commit is contained in:
Bruno Windels
2018-08-15 13:22:26 +02:00
parent 4c69c8d0f1
commit 1675d3c4ba

View File

@ -255,6 +255,7 @@ export function mkStubRoom(roomId = null) {
getUnfilteredTimelineSet: () => null,
getAccountData: () => null,
hasMembershipState: () => null,
getVersion: () => '1',
currentState: {
getStateEvents: sinon.stub(),
mayClientSendStateEvent: sinon.stub().returns(true),