]> git.apps.os.sepia.ceph.com Git - ceph.git/blob
aca8268568b433f8a2905bdfbc2a4632d7fffcac
[ceph.git] /
1 import { async, ComponentFixture, TestBed } from '@angular/core/testing';
2
3 import { NavigationComponent } from './navigation.component';
4 import { LogoutComponent } from '../../auth/logout/logout.component';
5 import { RouterTestingModule } from '@angular/router/testing';
6 import { SharedModule } from '../../../shared/shared.module';
7 import { HttpClientTestingModule } from '@angular/common/http/testing';
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 });