mirror of https://github.com/vector-im/riot-web
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
parent
1a2475ebba
commit
70c0290aec
|
@ -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());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue