angular-cn/packages/upgrade/test
Pawel Kozlowski 32c61f434c fix(ivy): ngUpgrade should distinguish element and module injectors (#28313)
There are cases where we should check an element injector but don't go
into the associated module injector if a token is not found. In both the
view engine and ngIvy this is acheived by passing the
`NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR` as the `notFoundValue`.

Before this fix the view engine and ngIvy were using different objects to
represent `NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR`. This was causing problems
as ngUpgrade is using `NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR` const in its
`NgAdapterInjector` to prevent searching of module injectors.

This commit makes sure that ngIvy is using the same object to represent
`NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR` as the view engine.

PR Close #28313
2019-01-23 15:01:22 -08:00
..
common build: load angular.js minified output in upgrade tests (#27711) 2018-12-18 09:29:27 -08:00
dynamic refactor(ivy): Add newer, smaller NgOnChangesFeature (#28187) 2019-01-23 10:59:34 -08:00
static fix(ivy): ngUpgrade should distinguish element and module injectors (#28313) 2019-01-23 15:01:22 -08:00
BUILD.bazel test(upgrade): re-enable tests that have been fixed (#27305) 2018-11-29 21:29:27 -08:00