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