refactor: change remaining <template> to <ng-template> (#14706)

This commit is contained in:
Victor Berchet
2017-03-01 08:02:37 -08:00
committed by Igor Minar
parent bc9e1debf2
commit d1182af1a4
4 changed files with 10 additions and 9 deletions

View File

@ -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'];