angular-cn/packages/core/schematics/test/google3
Paul Gschwendtner 5557dec120 refactor(core): missing-injectable migration should respect providers of directives and components (#33011)
Currenly the `missing-injectable` migration only migrates providers referenced from
`@NgModule` definitions. The schematic currently does not cover the migration for
providers referenced in `@Directive` or `@Component` definitions.

We need to handle the following keys for directives/components:

- `@Directive` -> `providers`
- `@Component` -> `providers` and `viewProviders`.

This commit ensures that the migration handles providers for these
definitions.

PR Close #33011
2019-10-14 20:24:01 +00:00
..
BUILD.bazel test(core): cleanup bazel target names for schematic tests (#32318) 2019-08-28 17:11:04 -07:00
dynamic_queries_spec.ts feat(core): add dynamic queries schematic (#32231) 2019-09-11 19:14:03 -04:00
explicit_query_timing_rule_spec.ts test(core): remove "enableIvy" compiler option from migration tests (#32954) 2019-10-02 14:53:41 -07:00
missing_injectable_rule_spec.ts refactor(core): missing-injectable migration should respect providers of directives and components (#33011) 2019-10-14 20:24:01 +00:00
no_template_variable_assignment_rule_spec.ts test(core): remove "enableIvy" compiler option from migration tests (#32954) 2019-10-02 14:53:41 -07:00
renderer_to_renderer2_spec.ts test(core): remove "enableIvy" compiler option from migration tests (#32954) 2019-10-02 14:53:41 -07:00
undecorated_classes_with_decorated_fields_spec.ts feat(core): add undecorated classes with decorated fields schematic (#32130) 2019-08-22 10:05:38 -07:00