angular/packages/core/test
Andrew Scott 0147e0b85a fix(core): exhaustive checkNoChanges should only do a single pass (#55839)
Because exhaustive checks traverse the whole tree regardless of the
dirty state, it breaks some expectations around how change detection
should be running. When a view has transplanted views, it
unconditionally marks all ancestors for traversal, assuming this is fine
because the loop will just traverse them and find nothing dirty.
However, exhaustive checkNoChanages actually refreshes everything during
traversal.

This update ensures the exhaustive check only does a single pass and
also prevents some unnecessary marking of transplanted views for
refresh since we know they're going to be reached.

PR Close #55839
2024-05-17 12:24:36 -07:00
..
acceptance fix(core): exhaustive checkNoChanges should only do a single pass (#55839) 2024-05-17 12:24:36 -07:00
animation refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:21 -07:00
authoring refactor(core): clean up clang comments and workarounds (#55750) 2024-05-13 11:10:36 -07:00
bundling refactor(forms): remove deprecated symbols (#55723) 2024-05-17 10:12:08 -07:00
change_detection refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:21 -07:00
compiler refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:21 -07:00
debug refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:21 -07:00
di refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:21 -07:00
dom refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:21 -07:00
hydration refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:21 -07:00
i18n refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:21 -07:00
linker refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:21 -07:00
metadata refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:21 -07:00
playground/zone-signal-input refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:21 -07:00
reflection refactor(core): remove unused logic from reflection capabilities (#45335) 2022-03-24 11:02:39 -07:00
render3 refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:21 -07:00
sanitization refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:21 -07:00
signals refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:21 -07:00
strict_types refactor(core): rename ...WithMeta types to ...Declaration and alias to unknown (#41119) 2021-03-22 08:57:18 -07:00
testability refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:21 -07:00
util refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:21 -07:00
zone refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:21 -07:00
application_config_spec.ts refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:21 -07:00
application_init_spec.ts refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:21 -07:00
application_module_spec.ts refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:21 -07:00
application_ref_integration_spec.ts refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:21 -07:00
application_ref_spec.ts refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:21 -07:00
BUILD.bazel test(core): Add scheduler in tests to tie into ApplicationRef.isStable (#53579) 2024-01-09 16:05:31 -08:00
change_detection_scheduler_spec.ts refactor(core): Update error for both zone and zoneless to be only for apps (#55813) 2024-05-15 13:27:27 -07:00
component_fixture_spec.ts refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:21 -07:00
defer_fixture_spec.ts refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:21 -07:00
dev_mode_spec.ts test(core): clean up unnecessary nesting in old tests (#52239) 2023-10-19 09:26:15 -07:00
directive_lifecycle_integration_spec.ts refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:21 -07:00
error_handler_spec.ts refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:21 -07:00
event_emitter_spec.ts refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:21 -07:00
fake_async_spec.ts refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:21 -07:00
forward_ref_integration_spec.ts refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:21 -07:00
runtime_error_spec.ts refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:21 -07:00
test_bed_effect_spec.ts refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:21 -07:00
test_bed_spec.ts refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:21 -07:00
transfer_state_spec.ts refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:21 -07:00
util_spec.ts refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:21 -07:00