test(ivy): ComponentFactoryResolver can resolve any component factory in Ivy (#28465)

PR Close #28465
This commit is contained in:
Marc Laval 2019-01-31 10:02:38 +01:00 committed by Matias Niemelä
parent f640941e1d
commit 9efb39c8a2
1 changed files with 2 additions and 3 deletions

View File

@ -10,7 +10,7 @@ import {ANALYZE_FOR_ENTRY_COMPONENTS, Component, ComponentFactoryResolver, ɵivy
import {Console} from '@angular/core/src/console';
import {noComponentFactoryError} from '@angular/core/src/linker/component_factory_resolver';
import {TestBed} from '@angular/core/testing';
import {fixmeIvy} from '@angular/private/testing';
import {obsoleteInIvy} from '@angular/private/testing';
if (ivyEnabled) {
@ -69,8 +69,7 @@ function declareTests(config?: {useJit: boolean}) {
expect(childComp.cfr.resolveComponentFactory(ChildComp) !.componentType).toBe(ChildComp);
});
fixmeIvy(
'FW-805: Ivy\'s implementation of ComponentFactoryResolver doesn\'t have checks present in the view engine')
obsoleteInIvy('In Ivy, the ComponentFactoryResolver can resolve any component factory')
.it('should not be able to get components from a parent component (content hierarchy)',
() => {
TestBed.overrideComponent(