mirror of
https://github.com/vector-im/element-web.git
synced 2026-04-14 10:01:21 +02:00
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.
This commit is contained in:
parent
1a2475ebba
commit
70c0290aec
@ -87,7 +87,7 @@ describe('TimelinePanel', function() {
|
||||
// this is https://github.com/vector-im/vector-web/issues/1367
|
||||
|
||||
// enough events to allow us to scroll back
|
||||
var N_EVENTS = 20;
|
||||
var N_EVENTS = 30;
|
||||
for (var i = 0; i < N_EVENTS; i++) {
|
||||
timeline.addEvent(mkMessage());
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user