angular-cn/packages/core/test/di
Marc Laval 8973f12ee4 fix(ivy): provided Injector should be instantiated by its factory (#27456)
(FW-777)

When an Injector is provided, R3Injector instantiates it by calling its
constructor instead of its factory, not resolving dependencies.
With this fix, the ngInjectorDef is checked and the factory is correctly
used if it is found.

PR Close #27456
2018-12-04 20:01:49 -08: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): provided Injector should be instantiated by its factory (#27456) 2018-12-04 20:01:49 -08: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