X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=portal-FE-common%2Fsrc%2Fapp%2Fpages%2Fweb-analytics%2Fweb-analytics.component.spec.ts;h=93fde8dc94d24b2274dd6ec202098c4bf990a8df;hb=4c6f6a443cb2e6effa995e77d56689c1c2dab4ad;hp=76d44cc0fa90e71dd475306f696d80e9e980799d;hpb=a03dfa273ef6e196bf65acc54b9357d35eb0ed5e;p=portal.git diff --git a/portal-FE-common/src/app/pages/web-analytics/web-analytics.component.spec.ts b/portal-FE-common/src/app/pages/web-analytics/web-analytics.component.spec.ts index 76d44cc0..93fde8dc 100644 --- a/portal-FE-common/src/app/pages/web-analytics/web-analytics.component.spec.ts +++ b/portal-FE-common/src/app/pages/web-analytics/web-analytics.component.spec.ts @@ -39,6 +39,10 @@ import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { WebAnalyticsComponent } from './web-analytics.component'; +import { HttpClientTestingModule } from '@angular/common/http/testing'; +import { FormsModule } from '@angular/forms'; +import { NgMaterialModule } from 'src/app/ng-material-module'; +import { BrowserAnimationsModule } from '@angular/platform-browser/animations'; describe('WebAnalyticsComponent', () => { let component: WebAnalyticsComponent; @@ -46,7 +50,9 @@ describe('WebAnalyticsComponent', () => { beforeEach(async(() => { TestBed.configureTestingModule({ - declarations: [ WebAnalyticsComponent ] + declarations: [ WebAnalyticsComponent ], + imports:[HttpClientTestingModule,FormsModule,NgMaterialModule,BrowserAnimationsModule], + }) .compileComponents(); }));