mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-04 19:56:45 +02:00
Add stub
This commit is contained in:
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…
x
Reference in New Issue
Block a user