angular/packages/core/schematics/utils
cexbrayat 8459ee46cb fix(migrations): handle more cases in HttpClientModule migration (#55640)
This commit handles two cases that were breaking applications when using the new migration:

- tests using `HttpClientModule` in `TestBed.configureTestingModule` were broken as the import was removed, but the module is still present in the test configuration. It now properly adds `provideHttpClient(withInterceptorsFromDi())` and related imports to the test.
- tests using `HttpClientTestingModule` were migrated to use `provideHttpClient(withInterceptorsFromDi())` but the necessary imports were not added. They are now added by the migration.

PR Close #55640
2024-05-06 12:29:18 -07:00
..
tslint refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:21 -07:00
typescript refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:21 -07:00
BUILD.bazel build: make devmode a noop and ensure it never runs (#48521) 2022-12-19 19:50:45 +00:00
change_tracker.ts fix(migrations): handle more cases in HttpClientModule migration (#55640) 2024-05-06 12:29:18 -07:00
extract_metadata.ts refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:21 -07:00
import_manager.ts refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:21 -07:00
line_mappings.ts refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:21 -07:00
load_esm.ts refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:21 -07:00
ng_component_template.ts refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:21 -07:00
ng_decorators.ts refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:21 -07:00
parse_html.ts refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:21 -07:00
project_tsconfig_paths.ts refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:21 -07:00
template_ast_visitor.ts refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:21 -07:00