https://github.com/angular/angular
Raw File
Tip revision: 4064cbe94544e421e3af1c5c76a63347637c8c3e authored by Miško Hevery on 16 November 2017, 22:04:25 UTC
docs: add changelog for 5.1.0-beta.1
Tip revision: 4064cbe
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