header.component.spec.ts 628 Bytes
Newer Older
Lukas Burgey's avatar
Lukas Burgey committed
1 2
import { async, ComponentFixture, TestBed } from '@angular/core/testing';

Lukas Burgey's avatar
Lukas Burgey committed
3
import { HeaderComponent } from './header.component';
Lukas Burgey's avatar
Lukas Burgey committed
4

Lukas Burgey's avatar
Lukas Burgey committed
5 6 7
describe('HeaderComponent', () => {
  let component: HeaderComponent;
  let fixture: ComponentFixture<HeaderComponent>;
Lukas Burgey's avatar
Lukas Burgey committed
8 9 10

  beforeEach(async(() => {
    TestBed.configureTestingModule({
Lukas Burgey's avatar
Lukas Burgey committed
11
      declarations: [ HeaderComponent ]
Lukas Burgey's avatar
Lukas Burgey committed
12 13 14 15 16
    })
    .compileComponents();
  }));

  beforeEach(() => {
Lukas Burgey's avatar
Lukas Burgey committed
17
    fixture = TestBed.createComponent(HeaderComponent);
Lukas Burgey's avatar
Lukas Burgey committed
18 19 20 21
    component = fixture.componentInstance;
    fixture.detectChanges();
  });

Lukas Burgey's avatar
Lukas Burgey committed
22
  it('should create', () => {
Lukas Burgey's avatar
Lukas Burgey committed
23 24 25
    expect(component).toBeTruthy();
  });
});