test: fix existing tests by removing usage of obsolete stuff like component level directives, AsyncCompleter and TestComponentBuilder

This commit is contained in:
Igor Minar
2016-08-19 12:51:01 -07:00
parent 939d318242
commit 3c2b2ff332
46 changed files with 251 additions and 326 deletions

View File

@ -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);
}
}