Fix TimelinePanel test

https://github.com/matrix-org/matrix-react-sdk/pull/422 made events take up
less vertical space, so we now need more of them to allow us to scroll back.
pull/21833/head
Richard van der Hoff 2016-08-23 14:39:44 +01:00
parent 1a2475ebba
commit 70c0290aec
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ describe('TimelinePanel', function() {
// this is https://github.com/vector-im/vector-web/issues/1367 // this is https://github.com/vector-im/vector-web/issues/1367
// enough events to allow us to scroll back // enough events to allow us to scroll back
var N_EVENTS = 20; var N_EVENTS = 30;
for (var i = 0; i < N_EVENTS; i++) { for (var i = 0; i < N_EVENTS; i++) {
timeline.addEvent(mkMessage()); timeline.addEvent(mkMessage());
} }