angular-cn/packages/core/test/di
Olivier Combe 728fe69625 feat(ivy): improve stacktrace for `R3Injector` errors (#28207)
Improve the stacktrace for `R3Injector` errors by adding the source component (or module) that tried to inject the missing provider, as well as the name of the injector which triggered the error (`R3Injector`).

e.g.:
```
R3InjectorError(SomeModule)[car -> SportsCar]:
    NullInjectorError: No provider for SportsCar!
```

FW-807 #resolve
FW-875 #resolve

PR Close #28207
2019-02-05 01:53:20 -05: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 feat(ivy): improve stacktrace for `R3Injector` errors (#28207) 2019-02-05 01:53:20 -05:00
reflective_injector_spec.ts build: extract interface and util sub compilation from core (#28028) 2019-01-10 16:31:44 -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 feat(ivy): improve stacktrace for `R3Injector` errors (#28207) 2019-02-05 01:53:20 -05:00