You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-31 13:44:28 +03: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:
@ -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());
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user