Skip to content

Commit 3f38eb0

Browse files
committed
Use 500px as width/height for default intersectionRect and boundingClientRect
1 parent 4ce8c91 commit 3f38eb0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/class-optimization-detective-test-helpers.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,12 +59,12 @@ static function ( array $element ): array {
5959
'isLCPCandidate' => $element['isLCP'],
6060
'intersectionRatio' => 1,
6161
'intersectionRect' => array(
62-
'width' => 100,
63-
'height' => 100,
62+
'width' => 500,
63+
'height' => 500,
6464
),
6565
'boundingClientRect' => array(
66-
'width' => 100,
67-
'height' => 100,
66+
'width' => 500,
67+
'height' => 500,
6868
),
6969
),
7070
$element

0 commit comments

Comments
 (0)