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