diff options
author | 2020-02-17 11:40:13 +0530 | |
---|---|---|
committer | 2020-02-17 11:40:23 +0530 | |
commit | f90a9c9f3d13a70cb7c1f1338aa19cbfc33dd7fd (patch) | |
tree | c1296a35433970c704e5bd9ef99cb540fccb796b /ecomp-sdk | |
parent | 68bc281ad7274254e2fccd2f5c398037737722d1 (diff) |
err in sidebar component resolved
error in sidebar component resolved
Issue-ID: PORTAL-813
Change-Id: Ie0244b9cc23fde8fa56802dc5c4b3421d1ae0cf7
Signed-off-by: Indrijeet Kumar <indriku1@in.ibm.com>
Diffstat (limited to 'ecomp-sdk')
-rw-r--r-- | ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/layout/components/sidebar/sidebar.component.spec.ts | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/layout/components/sidebar/sidebar.component.spec.ts b/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/layout/components/sidebar/sidebar.component.spec.ts index 6b53cae4..ad425219 100644 --- a/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/layout/components/sidebar/sidebar.component.spec.ts +++ b/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/layout/components/sidebar/sidebar.component.spec.ts @@ -41,22 +41,27 @@ import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { RouterTestingModule } from '@angular/router/testing'; import { TranslateModule } from '@ngx-translate/core'; import { HttpClientModule } from '@angular/common/http'; - +//import { CookieModule, CookieService } from 'ngx-cookie'; import { SidebarComponent } from './sidebar.component'; import { LayoutModule } from '../../layout.module'; +import { Session } from 'protractor'; +import { CookieService } from 'ngx-cookie-service'; -fdescribe('SidebarComponent', () => { +describe('SidebarComponent', () => { let component: SidebarComponent; let fixture: ComponentFixture<SidebarComponent>; beforeEach(async(() => { TestBed.configureTestingModule({ + providers:[CookieService], imports: [ LayoutModule, RouterTestingModule, TranslateModule.forRoot(), - HttpClientModule + HttpClientModule, + // CookieModule.forRoot() ], + // providers:[CookieService] }) .compileComponents(); })); |