Alex Rickabaugh c8baace554 test(ivy): add an integration test for ngcc (#25406)
This commit adds an integration test for ngcc, which runs ngcc
against most @angular packages. It does not yet make any assertions
on the result.

PR Close #25406
2018-08-22 19:28:56 -04:00

21 lines
455 B
TypeScript

import {Component, NgModule, ɵrenderComponent as renderComponent} from '@angular/core';
import {CommonModule} from '@angular/common';
@Component({
selector: 'hello-world',
template: `
<button (click)="visible = true">See Message</button>
<h2 *ngIf="visible">Hello World</h2>
`,
})
class HelloWorld {
visible = false;
}
@NgModule({
declarations: [HelloWorld],
imports: [CommonModule],
})
class Module {}
renderComponent(HelloWorld);