Add stub
parent
9f19896df0
commit
353b6e9e6d
|
@ -256,6 +256,7 @@ export function mkStubRoom(roomId = null) {
|
|||
getAccountData: () => null,
|
||||
hasMembershipState: () => null,
|
||||
getVersion: () => '1',
|
||||
shouldUpgradeToVersion: () => null,
|
||||
currentState: {
|
||||
getStateEvents: sinon.stub(),
|
||||
mayClientSendStateEvent: sinon.stub().returns(true),
|
||||
|
|
Loading…
Reference in New Issue