angular-cn/packages/core/test/di
Alex Rickabaugh 9644873023 fix(ivy): ignore imports without ngInjectorDef in r3_injector (#24862)
ngInjectorDef.imports is generated from @NgModule.imports plus
@NgModule.exports. A problem arises as a result, because @NgModule
exports contain not only other modules (which will have ngInjectorDef
fields), but components, directives, and pipes as well. Because of
locality, it's difficult for the compiler to filter these out at
build time.

It's not impossible, but for now filtering them out at runtime will
allow testing of the compiler against complex applications.

PR Close #24862
2018-07-20 11:48:36 -07:00
..
forward_ref_spec.ts build(core): remove `main()` from specs (#21053) 2017-12-22 13:10:51 -08:00
injector_spec.ts build(core): remove `main()` from specs (#21053) 2017-12-22 13:10:51 -08:00
r3_injector_spec.ts fix(ivy): ignore imports without ngInjectorDef in r3_injector (#24862) 2018-07-20 11:48:36 -07:00
reflective_injector_spec.ts build(core): remove `main()` from specs (#21053) 2017-12-22 13:10:51 -08:00
reflective_key_spec.ts build(core): remove `main()` from specs (#21053) 2017-12-22 13:10:51 -08:00
static_injector_spec.ts test: make `NgMatchers` type-aware (#19904) 2018-07-06 13:48:02 -07:00