Skip to content

Commit

Permalink
Merge branch 'main' into semantic-release
Browse files Browse the repository at this point in the history
  • Loading branch information
kptdobe committed Sep 13, 2023
2 parents c87c683 + e26f360 commit 5f4ec05
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/block-loader.js
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,8 @@ export async function waitForLCP(lcpBlocks) {
lcpCandidate.addEventListener('load', resolve);
lcpCandidate.addEventListener('error', resolve);
} else {
/* c8 ignore next 3 */
// need to be ignore because it is not reliably testable, depends on image loading time.
resolve();
}
});
Expand Down

0 comments on commit 5f4ec05

Please sign in to comment.