angular-cn/packages/upgrade/test/static
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
..
integration fix(ivy): ngUpgrade should distinguish element and module injectors (#28313) 2019-01-23 15:01:22 -08:00
angular1_providers_spec.ts test(upgrade): log more info to help debug CI flakes (#28045) 2019-01-10 11:03:26 -08:00
test_helpers.ts refactor(upgrade): use a constant for `$exceptionHandler` (#26217) 2018-11-05 16:33:54 -08:00