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