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