import {Component, Input} from 'angular2/core';
import {NgFor} from 'angular2/common';
@Component({
selector: 'hello-world',
template: '<h1>Hello, world!</h1>
})
export class HelloWorldComponent {}
describe('HelloWorldComponent', () => {
it('should give a cheerful greeting', injectAsync([TestComponentBuilder], (tcb) => {
return tcb.createAsync(HelloWorldComponent).then((componentFixture) => {
const element = componentFixture.nativeElement
assert.equal(element.innerHTML, 'Hello, world!')