1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-07-30 02:21:17 +03:00

unbreak tests

This commit is contained in:
Matthew Hodgson
2016-09-07 21:10:31 +01:00
parent 8f75bce29e
commit 334564c814
2 changed files with 3 additions and 2 deletions

View File

@ -61,10 +61,10 @@ describe('TimelinePanel', function() {
timeline = new jssdk.EventTimeline(ROOM_ID);
room = sinon.createStubInstance(jssdk.Room);
room.getPendingEvents.returns([]);
timelineSet = sinon.createStubInstance(jssdk.EventTimelineSet);
timelineSet.getLiveTimeline.returns(timeline);
timelineSet.getPendingEvents.returns([]);
timelineSet.room = room;
client = peg.get();