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();
}));