build: fix broken build (#21835)

PR Close #21835
This commit is contained in:
Misko Hevery 2018-01-27 13:40:54 -08:00
parent a1cc02f0bd
commit 5bd93b1f0f
1 changed files with 2 additions and 0 deletions

View File

@ -432,6 +432,7 @@ describe('r3_view_compiler', () => {
const MyComponentDefinition = ` const MyComponentDefinition = `
static ngComponentDef = IDENT.ɵdefineComponent({ static ngComponentDef = IDENT.ɵdefineComponent({
type: MyComponent,
tag: 'my-component', tag: 'my-component',
factory: function MyComponent_Factory() { return new MyComponent(); }, factory: function MyComponent_Factory() { return new MyComponent(); },
template: function MyComponent_Template(ctx: IDENT, cm: IDENT) { template: function MyComponent_Template(ctx: IDENT, cm: IDENT) {
@ -505,6 +506,7 @@ describe('r3_view_compiler', () => {
const MyComponentDefinition = ` const MyComponentDefinition = `
static ngComponentDef = IDENT.ɵdefineComponent({ static ngComponentDef = IDENT.ɵdefineComponent({
type: MyComponent,
tag: 'my-component', tag: 'my-component',
factory: function MyComponent_Factory() { return new MyComponent(); }, factory: function MyComponent_Factory() { return new MyComponent(); },
template: function MyComponent_Template(ctx: IDENT, cm: IDENT) { template: function MyComponent_Template(ctx: IDENT, cm: IDENT) {