import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { GlobalNavComponent } from './global-nav.component'; describe('GlobalNavComponent', () => { let component: GlobalNavComponent; let fixture: ComponentFixture; beforeEach(async(() => { TestBed.configureTestingModule({ declarations: [ GlobalNavComponent ] }) .compileComponents(); })); beforeEach(() => { fixture = TestBed.createComponent(GlobalNavComponent); component = fixture.componentInstance; fixture.detectChanges(); }); it('should create', () => { expect(component).toBeTruthy(); }); });