mirror of https://github.com/vector-im/riot-web
fix tests
parent
9eae1c5bb7
commit
92b4107174
|
@ -39,6 +39,7 @@ export function stubClient() {
|
||||||
loginFlows: sinon.stub(),
|
loginFlows: sinon.stub(),
|
||||||
on: sinon.stub(),
|
on: sinon.stub(),
|
||||||
removeListener: sinon.stub(),
|
removeListener: sinon.stub(),
|
||||||
|
isRoomEncrypted: sinon.stub().returns(false),
|
||||||
|
|
||||||
paginateEventTimeline: sinon.stub().returns(q()),
|
paginateEventTimeline: sinon.stub().returns(q()),
|
||||||
sendReadReceipt: sinon.stub().returns(q()),
|
sendReadReceipt: sinon.stub().returns(q()),
|
||||||
|
|
Loading…
Reference in New Issue