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