feat(core): add ngOnInit and ngDoCheck support in render3 (#21156)
PR Close #21156
This commit is contained in:

committed by
Miško Hevery

parent
8bf1305490
commit
c516bc3b35
@ -72,6 +72,7 @@ describe('encapsulation', () => {
|
||||
{ D(1, EncapsulatedComponent.ngComponentDef.n(), EncapsulatedComponent.ngComponentDef); }
|
||||
e();
|
||||
}
|
||||
EncapsulatedComponent.ngComponentDef.h(1, 0);
|
||||
EncapsulatedComponent.ngComponentDef.r(1, 0);
|
||||
},
|
||||
factory: () => new WrapperComponent,
|
||||
@ -89,6 +90,7 @@ describe('encapsulation', () => {
|
||||
{ D(2, LeafComponent.ngComponentDef.n(), LeafComponent.ngComponentDef); }
|
||||
e();
|
||||
}
|
||||
LeafComponent.ngComponentDef.h(2, 1);
|
||||
LeafComponent.ngComponentDef.r(2, 1);
|
||||
},
|
||||
factory: () => new EncapsulatedComponent,
|
||||
@ -137,6 +139,7 @@ describe('encapsulation', () => {
|
||||
{ D(1, LeafComponentwith.ngComponentDef.n(), LeafComponentwith.ngComponentDef); }
|
||||
e();
|
||||
}
|
||||
LeafComponentwith.ngComponentDef.h(1, 0);
|
||||
LeafComponentwith.ngComponentDef.r(1, 0);
|
||||
},
|
||||
factory: () => new WrapperComponentWith,
|
||||
|
Reference in New Issue
Block a user