import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { WidgetsComponent } from './widgets.component';
+import { HttpClientTestingModule } from '@angular/common/http/testing';
+import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
describe('WidgetsComponent', () => {
let component: WidgetsComponent;
beforeEach(async(() => {
TestBed.configureTestingModule({
- declarations: [ WidgetsComponent ]
+ declarations: [ WidgetsComponent ],
+ imports:[HttpClientTestingModule,BrowserAnimationsModule]
})
.compileComponents();
}));