import { it , iit , describe , ddescribe , expect , inject , injectAsync , TestComponentBuilder , beforeEachProviders } from 'angular2/testing' ; import { provide } from 'angular2/core' ; import { Home } from './home' ; describe ( 'Home Component' , ( ) => { beforeEachProviders ( ( ) => [ ] ) ; it ( 'should ...' , injectAsync ( [ TestComponentBuilder ] , ( tcb ) => { return tcb . createAsync ( Home ) . then ( ( fixture ) => { fixture . detectChanges ( ) ; } ) ; } ) ) ; } ) ;