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
This commit is contained in:
Alex Rickabaugh
2018-08-09 14:23:56 +01:00
committed by Matias Niemelä
parent d33e0091df
commit c8baace554
4 changed files with 80 additions and 0 deletions

View File

@ -0,0 +1,20 @@
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);