src/app/menu/header-bar/header-bar.component.spec.ts
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { HeaderBarComponent } from './header-bar.component';
import {CUSTOM_ELEMENTS_SCHEMA} from '@angular/core';
describe('HeaderBarComponent', () => {
let component: HeaderBarComponent;
let fixture: ComponentFixture<HeaderBarComponent>;
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [ HeaderBarComponent ],
schemas: [CUSTOM_ELEMENTS_SCHEMA],
})
.compileComponents();
}));
beforeEach(() => {
fixture = TestBed.createComponent(HeaderBarComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});