diff options
Diffstat (limited to 'portal-FE-common/src/app/pages/web-analytics/web-analytics.component.spec.ts')
-rw-r--r-- | portal-FE-common/src/app/pages/web-analytics/web-analytics.component.spec.ts | 8 |
1 files changed, 7 insertions, 1 deletions
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(); })); |