test: fix existing tests by removing usage of obsolete stuff like component level directives, AsyncCompleter and TestComponentBuilder
This commit is contained in:
@ -21,8 +21,7 @@ import {Zippy} from './app/zippy';
|
||||
<ul>
|
||||
<li *ngFor="let log of logs">{{log}}</li>
|
||||
</ul>
|
||||
`,
|
||||
directives: [Zippy]
|
||||
`
|
||||
})
|
||||
class ZippyApp {
|
||||
logs: string[] = [];
|
||||
@ -30,10 +29,10 @@ class ZippyApp {
|
||||
pushLog(log: string) { this.logs.push(log); }
|
||||
}
|
||||
|
||||
@NgModule({declarations: [ZippyApp], bootstrap: [ZippyApp], imports: [BrowserModule]})
|
||||
@NgModule({declarations: [ZippyApp, Zippy], bootstrap: [ZippyApp], imports: [BrowserModule]})
|
||||
class ExampleModule {
|
||||
}
|
||||
|
||||
export function main() {
|
||||
platformBrowserDynamic().bootstrapModule(ExampleModule);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user