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