mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
Addresses an issue where the LCP image observer incorrectly identified LCP elements when the same image URL was used multiple times on a page
Fixes #53278
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| e2e | ||
| BUILD.bazel | ||
| index.html | ||
| index.ts | ||
| playground.ts | ||
| README.md | ||
- NgOptimizedImage directive testing
This folder contains a simple application that can be used as a playground for the NgOptimizedImage directive testing. You can run the following command to start the dev server:
pnpm ibazel run packages/core/test/bundling/image-directive:devserver
There is also a set of e2e tests (powered by Protractor), which can be invoked by running:
pnpm bazel test packages/core/test/bundling/image-directive:protractor_tests