X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=portal-FE-common%2Fsrc%2Fapp%2Fpages%2Fwidgets%2Fwidgets.component.spec.ts;h=f0aa97a142930869acd25fa14dcc189c56ad4ea9;hb=4c6f6a443cb2e6effa995e77d56689c1c2dab4ad;hp=72982a1c4b56d1b5fd1ef51dd09a24bcc04b9cf8;hpb=a03dfa273ef6e196bf65acc54b9357d35eb0ed5e;p=portal.git diff --git a/portal-FE-common/src/app/pages/widgets/widgets.component.spec.ts b/portal-FE-common/src/app/pages/widgets/widgets.component.spec.ts index 72982a1c..f0aa97a1 100644 --- a/portal-FE-common/src/app/pages/widgets/widgets.component.spec.ts +++ b/portal-FE-common/src/app/pages/widgets/widgets.component.spec.ts @@ -1,6 +1,8 @@ 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; @@ -8,7 +10,8 @@ describe('WidgetsComponent', () => { beforeEach(async(() => { TestBed.configureTestingModule({ - declarations: [ WidgetsComponent ] + declarations: [ WidgetsComponent ], + imports:[HttpClientTestingModule,BrowserAnimationsModule] }) .compileComponents(); }));