https://github.com/angular/angular
Raw File
Tip revision: d138b38bdb5d20338d9cb000c46a58a6e3977271 authored by Misko Hevery on 03 January 2018, 23:54:46 UTC
docs: add changelog for 5.1.3
Tip revision: d138b38
heroes.component.spec.ts
import { async, ComponentFixture, TestBed } from '@angular/core/testing';

import { HeroesComponent } from './heroes.component';

describe('HeroesComponent', () => {
  let component: HeroesComponent;
  let fixture: ComponentFixture<HeroesComponent>;

  beforeEach(async(() => {
    TestBed.configureTestingModule({
      declarations: [ HeroesComponent ]
    })
    .compileComponents();
  }));

  beforeEach(() => {
    fixture = TestBed.createComponent(HeroesComponent);
    component = fixture.componentInstance;
    fixture.detectChanges();
  });

  it('should be created', () => {
    expect(component).toBeTruthy();
  });
});
back to top