1 import { async, ComponentFixture, TestBed } from '@angular/core/testing';
3 import { WidgetsComponent } from './widgets.component';
4 import { HttpClientTestingModule } from '@angular/common/http/testing';
5 import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
7 describe('WidgetsComponent', () => {
8 let component: WidgetsComponent;
9 let fixture: ComponentFixture<WidgetsComponent>;
11 beforeEach(async(() => {
12 TestBed.configureTestingModule({
13 declarations: [ WidgetsComponent ],
14 imports:[HttpClientTestingModule,BrowserAnimationsModule]
20 fixture = TestBed.createComponent(WidgetsComponent);
21 component = fixture.componentInstance;
22 fixture.detectChanges();
25 it('should create', () => {
26 expect(component).toBeTruthy();