test(language-service): Add external template (#30128)

This is in preparation for more rigorous testing of external templates, since it'll work differently under the new tsserver plugin model.

PR Close #30128
This commit is contained in:
Keen Yee Liau
2019-04-25 10:50:19 -07:00
committed by Andrew Kushnir
parent f4916730b5
commit 05eabb19d6
6 changed files with 44 additions and 2 deletions

View File

@ -2,6 +2,6 @@ import { Component } from '@angular/core';
@Component({
selector: 'my-app',
template: `<h1>Hello {{name}}</h1>`,
template: `<h1>Hello {{name}}</h1><my-widget></my-widget>`,
})
export class AppComponent { name = 'Angular'; }