diff options
Diffstat (limited to 'portal-FE-common/src/app/pages/admins/admins.component.spec.ts')
-rw-r--r-- | portal-FE-common/src/app/pages/admins/admins.component.spec.ts | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/portal-FE-common/src/app/pages/admins/admins.component.spec.ts b/portal-FE-common/src/app/pages/admins/admins.component.spec.ts index 563f80ff..c983cb98 100644 --- a/portal-FE-common/src/app/pages/admins/admins.component.spec.ts +++ b/portal-FE-common/src/app/pages/admins/admins.component.spec.ts @@ -38,6 +38,9 @@ import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { AdminsComponent } from './admins.component'; +import { NgMaterialModule } from 'src/app/ng-material-module'; +import { HttpClientTestingModule } from '@angular/common/http/testing'; +import { BrowserAnimationsModule } from '@angular/platform-browser/animations'; describe('AdminsComponent', () => { let component: AdminsComponent; @@ -45,7 +48,8 @@ describe('AdminsComponent', () => { beforeEach(async(() => { TestBed.configureTestingModule({ - declarations: [ AdminsComponent ] + declarations: [ AdminsComponent ], + imports: [NgMaterialModule,HttpClientTestingModule,BrowserAnimationsModule] }) .compileComponents(); })); |