Skip to content

Commit

Permalink
Use 500px as width/height for default intersectionRect and boundingCl…
Browse files Browse the repository at this point in the history
…ientRect
  • Loading branch information
westonruter committed Jul 26, 2024
1 parent 4ce8c91 commit 3f38eb0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/class-optimization-detective-test-helpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,12 @@ static function ( array $element ): array {
'isLCPCandidate' => $element['isLCP'],
'intersectionRatio' => 1,
'intersectionRect' => array(
'width' => 100,
'height' => 100,
'width' => 500,
'height' => 500,
),
'boundingClientRect' => array(
'width' => 100,
'height' => 100,
'width' => 500,
'height' => 500,
),
),
$element
Expand Down

0 comments on commit 3f38eb0

Please sign in to comment.