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