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,
|
getAccountData: () => null,
|
||||||
hasMembershipState: () => null,
|
hasMembershipState: () => null,
|
||||||
getVersion: () => '1',
|
getVersion: () => '1',
|
||||||
|
getMyMembership: () => "join",
|
||||||
currentState: {
|
currentState: {
|
||||||
getStateEvents: sinon.stub(),
|
getStateEvents: sinon.stub(),
|
||||||
mayClientSendStateEvent: sinon.stub().returns(true),
|
mayClientSendStateEvent: sinon.stub().returns(true),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue