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