mirror of
https://github.com/element-hq/element-web
synced 2024-11-26 11:15:53 +03:00
room stub not having getVersion method broke tests
This commit is contained in:
parent
4c69c8d0f1
commit
1675d3c4ba
1 changed files with 1 additions and 0 deletions
|
@ -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),
|
||||
|
|
Loading…
Reference in a new issue