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