Skip to content
Snippets Groups Projects
header.component.spec.ts 719 B
Newer Older
pnogal's avatar
pnogal committed
import { async, ComponentFixture, TestBed } from '@angular/core/testing';

import { HeaderComponent } from './header.component';
jvanboxtel@wisc.edu's avatar
jvanboxtel@wisc.edu committed
import { CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
pnogal's avatar
pnogal committed

describe('HeaderComponent', () => {
  let component: HeaderComponent;
  let fixture: ComponentFixture<HeaderComponent>;
pnogal's avatar
pnogal committed

  beforeEach(async(() => {
    TestBed.configureTestingModule({
      declarations: [HeaderComponent],
      schemas: [CUSTOM_ELEMENTS_SCHEMA],
    }).compileComponents();
  }));
pnogal's avatar
pnogal committed

  beforeEach(() => {
    fixture = TestBed.createComponent(HeaderComponent);
    component = fixture.componentInstance;
    fixture.detectChanges();
  });
pnogal's avatar
pnogal committed

  it('should create', () => {
    expect(component).toBeTruthy();
  });
});