angular/packages/core/schematics/test
Lukas Matta 5b210e97af 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
2025-11-04 23:25:59 +00:00
..
add_bootstrap_context_to_server_main_spec.ts feat(core): introduce BootstrapContext for improved server bootstrapping (#63562) 2025-09-09 10:57:09 -07:00
all-migrations.spec.ts test(core): remove shelljs from core schematics tests (#64042) 2025-09-26 13:14:09 -04:00
application_config_core_spec.ts test(core): remove shelljs from core schematics tests (#64042) 2025-09-26 13:14:09 -04:00
BUILD.bazel refactor(migrations): exclude all @angular/* packages from schematics bundle 2025-10-28 20:51:50 +01:00
cleanup_unused_imports_migration_spec.ts test(core): remove shelljs from core schematics tests (#64042) 2025-09-26 13:14:09 -04:00
common_to_standalone_migration_spec.ts feat(migrations): Adds support for CommonModule to standalone migration (#64138) 2025-10-15 10:37:37 -07:00
control_flow_migration_spec.ts fix(migrations): Prevent removal of templates referenced with preceding whitespace characters 2025-11-04 23:25:59 +00:00
helpers.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
inject_migration_spec.ts test(core): remove shelljs from core schematics tests (#64042) 2025-09-26 13:14:09 -04:00
ngclass_to_class_migration_spec.ts refactor(migrations): remove common module if there are no references (#63892) 2025-09-18 20:18:43 +00:00
ngstyle_to_style_migration_spec.ts feat(migrations): add migration to convert ngStyle to use style (#63517) 2025-09-15 20:16:16 +00:00
output_migration_spec.ts test(core): remove shelljs from core schematics tests (#64042) 2025-09-26 13:14:09 -04: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 test(core): remove shelljs from core schematics tests (#64042) 2025-09-26 13:14:09 -04:00
router-testing-module-migration_spec.ts feat(migrations): Adds migration for deprecated router testing module (#64217) 2025-10-13 11:09:29 -07:00
router_current_navigation_spec.ts test(core): remove shelljs from core schematics tests (#64042) 2025-09-26 13:14:09 -04:00
router_last_successful_navigation_spec.ts test(core): remove shelljs from core schematics tests (#64042) 2025-09-26 13:14:09 -04:00
self_closing_tags_migration_spec.ts test(core): remove shelljs from core schematics tests (#64042) 2025-09-26 13:14:09 -04:00
signal_input_migration_spec.ts refactor(migrations): unit test signal migration adjustment (#64393) 2025-10-15 10:38:57 -07:00
signals_migration_spec.ts test(core): remove shelljs from core schematics tests (#64042) 2025-09-26 13:14:09 -04:00
standalone_migration_spec.ts fix(migrations): preserve component imports when pruning NgModules in standalone migration (#64186) 2025-10-02 13:54:14 -07:00
standalone_routes_spec.ts test(core): remove shelljs from core schematics tests (#64042) 2025-09-26 13:14:09 -04:00