angular/packages/core/schematics/test
Lukas Matta a45e6b2b66 fix(migrations): Prevent removal of templates referenced with preceding whitespace characters
In https://github.com/angular/angular/pull/64745, a fix was introduced for templates referenced with a trailing semicolon. However, templates are still incorrectly removed when there are whitespace characters before the template name.

This commit updates the control flow migration logic to ensure templates referenced with preceding whitespace are not removed.

Fixes #64854

(cherry picked from commit 5b210e97af)
2025-11-04 15:26:06 -08:00
..
add_bootstrap_context_to_server_main_spec.ts feat(core): introduce BootstrapContext for improved server bootstrapping (#63636) 2025-09-09 10:45:02 -07:00
all-migrations.spec.ts build: remove all usages of @bazel/runfiles (#62804) 2025-07-25 10:04:55 +02:00
BUILD.bazel build: rename defaults2.bzl to defaults.bzl (#63384) 2025-08-25 15:45:46 -07:00
cleanup_unused_imports_migration_spec.ts build: remove all usages of @bazel/runfiles (#62804) 2025-07-25 10:04:55 +02:00
control_flow_migration_spec.ts fix(migrations): Prevent removal of templates referenced with preceding whitespace characters 2025-11-04 15:26:06 -08:00
document_core_spec.ts build: remove all usages of @bazel/runfiles (#62804) 2025-07-25 10:04:55 +02:00
helpers.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
inject_flags_spec.ts build: remove all usages of @bazel/runfiles (#62804) 2025-07-25 10:04:55 +02:00
inject_migration_spec.ts fix(core): Fixed inject migration schematics for migrate destructured properties (#62832) 2025-09-02 10:59:47 -07:00
output_migration_spec.ts build: remove all usages of @bazel/runfiles (#62804) 2025-07-25 10:04:55 +02:00
project_tsconfig_paths_spec.ts build: migrate to using new jasmine_test (#62086) 2025-06-18 08:27:26 +02:00
queries_migration_spec.ts build: remove all usages of @bazel/runfiles (#62804) 2025-07-25 10:04:55 +02:00
router_current_navigation_spec.ts feat(router): add a currentNavigation signal to the Router service. (#63011) 2025-08-06 09:54:53 -07:00
self_closing_tags_migration_spec.ts build: remove all usages of @bazel/runfiles (#62804) 2025-07-25 10:04:55 +02:00
signal_input_migration_spec.ts refactor(migrations): unit test signal migration adjustment (#64393) 2025-10-15 10:38:58 -07:00
signals_migration_spec.ts build: remove all usages of @bazel/runfiles (#62804) 2025-07-25 10:04:55 +02:00
standalone_migration_spec.ts fix(migrations): preserve component imports when pruning NgModules in standalone migration (#64186) 2025-10-02 13:54:15 -07:00
standalone_routes_spec.ts fix(migrations): fix route-lazy-loading migration (#63818) 2025-09-16 15:53:48 +00:00
test_bed_get_spec.ts build: remove all usages of @bazel/runfiles (#62804) 2025-07-25 10:04:55 +02:00