mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
Due to the design of the `ng.getComponent` spy and a race condition where sometimes a `<script>` is added to the test DOM, the `getRootElements` tests used to fail sometimes because those `<script>`s were marked as roots which caused a distortion in the roots count checks. The commit addresses that and also adds an additional test for non-application root Angular components.
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| lib | ||
| BUILD.bazel | ||
| public-api.ts | ||