import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { CommentComponent } from './comment.component'; describe('CommentComponent', () => { let component: CommentComponent; let fixture: ComponentFixture<CommentComponent>; beforeEach(async(() => { TestBed.configureTestingModule({ declarations: [ CommentComponent ] }) .compileComponents(); })); beforeEach(() => { fixture = TestBed.createComponent(CommentComponent); component = fixture.componentInstance; fixture.detectChanges(); }); it('should create', () => { expect(component).toBeTruthy(); }); });