summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/layout/components/sidebar/sidebar.component.spec.ts11
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();
}));