diff --git a/test/components/structures/TimelinePanel-test.js b/test/components/structures/TimelinePanel-test.js index cbfa4de990..d8ded918f6 100644 --- a/test/components/structures/TimelinePanel-test.js +++ b/test/components/structures/TimelinePanel-test.js @@ -152,7 +152,7 @@ describe('TimelinePanel', function() { console.log("adding event"); // a new event! - var ev = mkMessage(31); + var ev = mkMessage(N_EVENTS+1); timeline.addEvent(ev); panel.onRoomTimeline(ev, room, false, false, { liveEvent: true,