From f90a9c9f3d13a70cb7c1f1338aa19cbfc33dd7fd Mon Sep 17 00:00:00 2001 From: Indrijeet kumar Date: Mon, 17 Feb 2020 11:40:13 +0530 Subject: err in sidebar component resolved error in sidebar component resolved Issue-ID: PORTAL-813 Change-Id: Ie0244b9cc23fde8fa56802dc5c4b3421d1ae0cf7 Signed-off-by: Indrijeet Kumar --- .../app/layout/components/sidebar/sidebar.component.spec.ts | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'ecomp-sdk/epsdk-app-overlay') 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; beforeEach(async(() => { TestBed.configureTestingModule({ + providers:[CookieService], imports: [ LayoutModule, RouterTestingModule, TranslateModule.forRoot(), - HttpClientModule + HttpClientModule, + // CookieModule.forRoot() ], + // providers:[CookieService] }) .compileComponents(); })); -- cgit 1.2.3-korg