1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-07-15 11:01:52 +03:00

Add missing stubs to stubRoom.currentState

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski
2019-07-29 13:27:49 +01:00
parent f45b1bfdda
commit ac66388a7f

View File

@ -251,6 +251,8 @@ export function mkStubRoom(roomId = null) {
getStateEvents: sinon.stub(),
mayClientSendStateEvent: sinon.stub().returns(true),
maySendStateEvent: sinon.stub().returns(true),
maySendEvent: sinon.stub().returns(true),
maySendMessage: sinon.stub().returns(true),
members: [],
},
tags: {