mirror of
https://github.com/element-hq/element-web
synced 2024-11-22 17:25:50 +03:00
fix tests
This commit is contained in:
parent
a54629276f
commit
db7dd8e9e8
1 changed files with 1 additions and 0 deletions
|
@ -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…
Reference in a new issue