refactor: change remaining <template>
to <ng-template>
(#14706)
This commit is contained in:

committed by
Igor Minar

parent
bc9e1debf2
commit
d1182af1a4
@ -517,7 +517,8 @@ function declareTests({useJit}: {useJit: boolean}) {
|
||||
it('should assign the TemplateRef to a user-defined variable', () => {
|
||||
const fixture =
|
||||
TestBed.configureTestingModule({declarations: [MyComp]})
|
||||
.overrideComponent(MyComp, {set: {template: '<template ref-alice></template>'}})
|
||||
.overrideComponent(
|
||||
MyComp, {set: {template: '<ng-template ref-alice></ng-template>'}})
|
||||
.createComponent(MyComp);
|
||||
|
||||
const value = fixture.debugElement.childNodes[0].references['alice'];
|
||||
|
Reference in New Issue
Block a user