Files
arturovt 46a2ad39f5 fix(common): prevent warning about oversize image twice (#58021)
I’ve noticed that there was a loop inside a loop. Since we’re already iterating through
`images` using `forEach`, it was running a `for` loop through `images` again. This was
probably a mistake made when the functionality was initially added. The test actually
verified that `logs.length` is `1`, but in the real environment, it logs twice
(which is quite obvious due to the code).

I’ve also added the missing file to the Bazel target.

PR Close #58021
2024-10-02 11:46:18 +00:00
..
…

  • 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:

yarn 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:

yarn bazel test packages/core/test/bundling/image-directive:protractor_tests