angular/packages/core/schematics
cexbrayat 7a2efd442d 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:17 -07:00
..
migrations fix(migrations): handle more cases in HttpClientModule migration (#55640) 2024-05-06 12:29:17 -07:00
ng-generate refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:19 -07:00
test fix(migrations): handle more cases in HttpClientModule migration (#55640) 2024-05-06 12:29:17 -07:00
utils fix(migrations): handle more cases in HttpClientModule migration (#55640) 2024-05-06 12:29:17 -07:00
BUILD.bazel feat(migrations): Migration schematics for HttpClientModule (#54020) 2024-04-23 12:12:31 -07:00
collection.json feat(core): Add schematic to migrate control flow syntax (#52035) 2023-10-10 11:33:00 -07:00
migrations.json feat(migrations): Migration schematics for HttpClientModule (#54020) 2024-04-23 12:12:31 -07:00
package.json refactor(migrations): ensure CommonJS migrations can be accessed (#43657) 2021-10-04 16:24:48 -07:00
tsconfig.json build: align schematics tsconfig with rest of the project (#51969) 2023-10-04 07:28:41 -07:00