mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-04 19:56:45 +02:00
fix tests
This commit is contained in:
parent
a54629276f
commit
db7dd8e9e8
@ -256,6 +256,7 @@ export function mkStubRoom(roomId = null) {
|
||||
getAccountData: () => null,
|
||||
hasMembershipState: () => null,
|
||||
getVersion: () => '1',
|
||||
getMyMembership: () => "join",
|
||||
currentState: {
|
||||
getStateEvents: sinon.stub(),
|
||||
mayClientSendStateEvent: sinon.stub().returns(true),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user