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