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