]> git.apps.os.sepia.ceph.com Git - ceph.git/blob
7548b2bd7c1ff8ed48687464e205835292fe2b20
[ceph.git] /
1 import { HttpClientTestingModule } from '@angular/common/http/testing';
2 import { async, ComponentFixture, TestBed } from '@angular/core/testing';
3 import { RouterTestingModule } from '@angular/router/testing';
4
5 import { SharedModule } from '../../../shared/shared.module';
6 import { LogoutComponent } from '../../auth/logout/logout.component';
7 import { NavigationComponent } from './navigation.component';
8
9 describe('NavigationComponent', () => {
10   let component: NavigationComponent;
11   let fixture: ComponentFixture<NavigationComponent>;
12
13   beforeEach(async(() => {
14     TestBed.configureTestingModule({
15       imports: [
16         SharedModule,
17         RouterTestingModule,
18         HttpClientTestingModule
19       ],
20       declarations: [
21         NavigationComponent,
22         LogoutComponent
23       ]
24     })
25     .compileComponents();
26   }));
27
28   beforeEach(() => {
29     fixture = TestBed.createComponent(NavigationComponent);
30     component = fixture.componentInstance;
31     fixture.detectChanges();
32   });
33
34   it('should create', () => {
35     expect(component).toBeTruthy();
36   });
37 });