X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=portal-FE-common%2Fsrc%2Fapp%2Fpages%2Fapplication-catalog%2Fapplication-catalog.component.spec.ts;h=ea2cfdd03e78bb7a70df68f84a7b8f24005eb775;hb=4c6f6a443cb2e6effa995e77d56689c1c2dab4ad;hp=1967d254053ae8dd9486089f575fb4fb2f123d82;hpb=a03dfa273ef6e196bf65acc54b9357d35eb0ed5e;p=portal.git diff --git a/portal-FE-common/src/app/pages/application-catalog/application-catalog.component.spec.ts b/portal-FE-common/src/app/pages/application-catalog/application-catalog.component.spec.ts index 1967d254..ea2cfdd0 100644 --- a/portal-FE-common/src/app/pages/application-catalog/application-catalog.component.spec.ts +++ b/portal-FE-common/src/app/pages/application-catalog/application-catalog.component.spec.ts @@ -38,6 +38,12 @@ import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { ApplicationCatalogComponent } from './application-catalog.component'; +import { RouterLinkDirectiveStub } from 'src/testing/router-link-directive-stub'; +import { FormsModule } from '@angular/forms'; +import { NgMaterialModule } from 'src/app/ng-material-module'; +import { GridsterModule } from 'angular-gridster2'; +import { ElipsisPipe } from 'src/app/shared/pipes/elipsis/elipsis.pipe'; +import { HttpClientTestingModule } from '@angular/common/http/testing'; describe('ApplicationCatalogComponent', () => { let component: ApplicationCatalogComponent; @@ -45,7 +51,8 @@ describe('ApplicationCatalogComponent', () => { beforeEach(async(() => { TestBed.configureTestingModule({ - declarations: [ ApplicationCatalogComponent ] + declarations: [ ApplicationCatalogComponent,RouterLinkDirectiveStub,ElipsisPipe], + imports: [FormsModule,NgMaterialModule,GridsterModule,HttpClientTestingModule] }) .compileComponents(); }));