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