Add missing stubs to stubRoom.currentState
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
f45b1bfdda
commit
ac66388a7f
1 changed files with 2 additions and 0 deletions
|
@ -251,6 +251,8 @@ export function mkStubRoom(roomId = null) {
|
||||||
getStateEvents: sinon.stub(),
|
getStateEvents: sinon.stub(),
|
||||||
mayClientSendStateEvent: sinon.stub().returns(true),
|
mayClientSendStateEvent: sinon.stub().returns(true),
|
||||||
maySendStateEvent: sinon.stub().returns(true),
|
maySendStateEvent: sinon.stub().returns(true),
|
||||||
|
maySendEvent: sinon.stub().returns(true),
|
||||||
|
maySendMessage: sinon.stub().returns(true),
|
||||||
members: [],
|
members: [],
|
||||||
},
|
},
|
||||||
tags: {
|
tags: {
|
||||||
|
|
Loading…
Reference in a new issue