https://github.com/angular/angular
Raw File
Tip revision: 4008e36e806f31f7c0e39810aa35242739b5a502 authored by Igor Minar on 27 April 2018, 17:47:56 UTC
release: cut the v6.0.0-rc.6 release
Tip revision: 4008e36
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