angular/packages/core/test/acceptance
Matt Lewis bd2868e915 fix(core): capture animation dependencies eagerly to avoid destroyed injector
Animation runner functions (runEnterAnimation, runLeaveAnimations,
runLeaveAnimationFunction) execute asynchronously from the animation
queue via afterNextRender. By that time the lView injector may have
been destroyed, causing lView[INJECTOR].get(NgZone) to throw NG0205.

Move the NgZone and MAX_ANIMATION_TIMEOUT lookups into the setup
instructions (ɵɵanimateEnter, ɵɵanimateLeave, ɵɵanimateLeaveListener)
which run synchronously during template processing when the injector
is guaranteed to be valid, and pass them through the closures.
2026-02-10 13:31:23 -08:00
..
authoring feat(core): add support for nested animations 2026-02-06 09:42:34 -08:00
selectorless build: rename defaults2.bzl to defaults.bzl (#63383) 2025-08-25 15:45:01 -07:00
after_render_effect_spec.ts fix(core): destroying the effect on afterRenderEffect (#63001) 2025-08-08 08:46:46 -07:00
after_render_hook_spec.ts ci: reformat files 2025-12-16 14:44:19 -08:00
animation_spec.ts fix(core): capture animation dependencies eagerly to avoid destroyed injector 2026-02-10 13:31:23 -08:00
attach_source_locations_spec.ts refactor(core): convert scripts within packages/core/test to relative imports (#60227) 2025-03-25 10:58:00 -07:00
attributes_spec.ts ci: reformat files 2025-12-16 14:44:19 -08:00
bootstrap_spec.ts refactor(platform-browser): replace platform-browser-dynamic with platform-browser (#61498) 2025-05-21 14:01:49 +00:00
BUILD.bazel refactor(core): export profile event as enum and move profile_types.ts and framework to shared devtools folder 2025-11-19 15:22:49 -08:00
change_detection_signals_in_zones_spec.ts ci: reformat files 2025-12-16 14:44:19 -08:00
change_detection_spec.ts feat(core): add ChangeDetectionStrategy.Eager alias for Default 2026-01-30 14:20:52 -08:00
change_detection_transplanted_view_spec.ts ci: reformat files 2025-12-16 14:44:19 -08:00
chrome_dev_tools_performance_spec.ts refactor(core): let the profiler handle asymmetric events leniently 2025-11-20 12:29:59 -05:00
common_integration_spec.ts build: update Jasmine to 6.0.0 2026-02-09 12:15:57 -08:00
component_spec.ts build: update Jasmine to 6.0.0 2026-02-09 12:15:57 -08:00
content_spec.ts build: update Jasmine to 6.0.0 2026-02-09 12:15:57 -08:00
control_flow_for_spec.ts ci: reformat files 2025-12-16 14:44:19 -08:00
control_flow_if_spec.ts feat(compiler): Add support for the instanceof binary operator 2026-01-13 08:33:12 -08:00
control_flow_switch_spec.ts refactor(core): extend tests for empty cases. 2026-01-08 08:24:53 -08:00
create_component_spec.ts fix(forms): Rename signal form [field] to [formField] 2026-01-09 14:33:09 -08:00
csp_spec.ts refactor(core): convert scripts within packages/core/test to relative imports (#60227) 2025-03-25 10:58:00 -07:00
defer_spec.ts build: update Jasmine to 6.0.0 2026-02-09 12:15:57 -08:00
defer_utils_spec.ts feat(core): add host node to DeferBlockData (#66546) 2026-01-20 18:16:32 +00:00
destroy_ref_spec.ts ci: reformat files 2025-12-16 14:44:19 -08:00
di_forward_ref_spec.ts refactor(core): update error message links to versioned docs (#66374) 2026-01-09 22:33:51 +00:00
di_spec.ts build: update Jasmine to 6.0.0 2026-02-09 12:15:57 -08:00
directive_spec.ts test: add test about mapped attributes to input 2026-02-10 13:29:31 -08:00
discover_utils_spec.ts ci: reformat files 2025-12-16 14:44:19 -08:00
embedded_views_spec.ts ci: reformat files 2025-12-16 14:44:19 -08:00
env_injector_standalone_spec.ts refactor(core): convert scripts within packages/core/test to relative imports (#60227) 2025-03-25 10:58:00 -07:00
environment_injector_spec.ts refactor(core): convert scripts within packages/core/test to relative imports (#60227) 2025-03-25 10:58:00 -07:00
exports_spec.ts refactor(core): Update tests for zoneless by default (#63668) 2025-09-09 14:41:56 -07:00
hmr_spec.ts ci: reformat files 2025-12-16 14:44:19 -08:00
host_binding_spec.ts build: update Jasmine to 6.0.0 2026-02-09 12:15:57 -08:00
host_directives_spec.ts ci: reformat files 2025-12-16 14:44:19 -08:00
i18n_spec.ts ci: reformat files 2025-12-16 14:44:19 -08:00
inherit_definition_feature_spec.ts ci: reformat files 2025-12-16 14:44:19 -08:00
injector_profiler_spec.ts build: update Jasmine to 6.0.0 2026-02-09 12:15:57 -08:00
integration_spec.ts build: update Jasmine to 6.0.0 2026-02-09 12:15:57 -08:00
internal_spec.ts ci: reformat files 2025-12-16 14:44:19 -08:00
let_spec.ts ci: reformat files 2025-12-16 14:44:19 -08:00
lifecycle_spec.ts ci: reformat files 2025-12-16 14:44:19 -08:00
listener_spec.ts ci: reformat files 2025-12-16 14:44:19 -08:00
local_compilation_spec.ts build: update Jasmine to 6.0.0 2026-02-09 12:15:57 -08:00
nested_animation_spec.ts feat(core): add support for nested animations 2026-02-06 09:42:34 -08:00
ng_module_spec.ts refactor(platform-browser): replace platform-browser-dynamic with platform-browser (#61498) 2025-05-21 14:01:49 +00:00
ngmodule_scope_spec.ts refactor(platform-browser): replace platform-browser-dynamic with platform-browser (#61498) 2025-05-21 14:01:49 +00:00
outputs_spec.ts refactor(core): Update tests for zoneless by default (#63668) 2025-09-09 14:41:56 -07:00
pending_tasks_spec.ts fix(core): Microtask scheduling should be used after any application synchronization 2025-12-16 13:34:48 -08:00
pipe_spec.ts ci: reformat files 2025-12-16 14:44:19 -08:00
profiler_spec.ts build: update Jasmine to 6.0.0 2026-02-09 12:15:57 -08:00
property_binding_spec.ts ci: reformat files 2025-12-16 14:44:19 -08:00
property_interpolation_spec.ts ci: reformat files 2025-12-16 14:44:19 -08:00
providers_spec.ts refactor(core): Update tests for zoneless by default (#63668) 2025-09-09 14:41:56 -07:00
pure_function_spec.ts ci: reformat files 2025-12-16 14:44:19 -08:00
query_spec.ts ci: reformat files 2025-12-16 14:44:19 -08:00
renderer_factory_spec.ts ci: reformat files 2025-12-16 14:44:19 -08:00
router_integration_spec.ts refactor(core): convert scripts within packages/core/test to relative imports (#60227) 2025-03-25 10:58:00 -07:00
security_spec.ts build: update Jasmine to 6.0.0 2026-02-09 12:15:57 -08:00
signal_debug_spec.ts ci: reformat files 2025-12-16 14:44:19 -08:00
standalone_injector_spec.ts ci: reformat files 2025-12-16 14:44:19 -08:00
standalone_spec.ts build: update Jasmine to 6.0.0 2026-02-09 12:15:57 -08:00
styling_spec.ts build: update Jasmine to 6.0.0 2026-02-09 12:15:57 -08:00
template_ref_spec.ts ci: reformat files 2025-12-16 14:44:19 -08:00
text_spec.ts ci: reformat files 2025-12-16 14:44:19 -08:00
tracing_spec.ts refactor(core): Update tests for zoneless by default (#63668) 2025-09-09 14:41:56 -07:00
view_container_ref_spec.ts build: update Jasmine to 6.0.0 2026-02-09 12:15:57 -08:00
view_insertion_spec.ts ci: reformat files 2025-12-16 14:44:19 -08:00
view_ref_spec.ts refactor(core): convert scripts within packages/core/test to relative imports (#60227) 2025-03-25 10:58:00 -07:00