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