1 import { HttpClientTestingModule } from '@angular/common/http/testing';
2 import { NO_ERRORS_SCHEMA } from '@angular/core';
3 import { ComponentFixture, TestBed } from '@angular/core/testing';
4 import { RouterTestingModule } from '@angular/router/testing';
6 import { ToastrModule } from 'ngx-toastr';
8 import { RbdService } from '~/app/shared/api/rbd.service';
9 import { PipesModule } from '~/app/shared/pipes/pipes.module';
10 import { AuthStorageService } from '~/app/shared/services/auth-storage.service';
11 import { configureTestBed } from '~/testing/unit-test-helper';
12 import { WorkbenchLayoutComponent } from './workbench-layout.component';
14 describe('WorkbenchLayoutComponent', () => {
15 let component: WorkbenchLayoutComponent;
16 let fixture: ComponentFixture<WorkbenchLayoutComponent>;
19 imports: [RouterTestingModule, ToastrModule.forRoot(), PipesModule, HttpClientTestingModule],
20 declarations: [WorkbenchLayoutComponent],
21 schemas: [NO_ERRORS_SCHEMA],
22 providers: [AuthStorageService, RbdService]
26 fixture = TestBed.createComponent(WorkbenchLayoutComponent);
27 component = fixture.componentInstance;
28 fixture.detectChanges();
31 it('should create', () => {
32 expect(component).toBeTruthy();