You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-16 22:01:54 +03:00
Add missing stubs to stubRoom.currentState
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
@ -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: {
|
||||||
|
Reference in New Issue
Block a user