daily pastebin goal
42%
SHARE
TWEET

Untitled

a guest Feb 18th, 2018 76 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import { async, ComponentFixture, TestBed } from '@angular/core/testing';
  2.  
  3. import { HeroesComponent } from './heroes.component';
  4.  
  5. describe('HeroesComponent', () => {
  6.   let component: HeroesComponent;
  7.   let fixture: ComponentFixture<HeroesComponent>;
  8.  
  9.   beforeEach(async(() => {
  10.     TestBed.configureTestingModule({
  11.       declarations: [ HeroesComponent ]
  12.     })
  13.     .compileComponents();
  14.   }));
  15.  
  16.   beforeEach(() => {
  17.     fixture = TestBed.createComponent(HeroesComponent);
  18.     component = fixture.componentInstance;
  19.     fixture.detectChanges();
  20.   });
  21.  
  22.   it('should create', () => {
  23.     expect(component).toBeTruthy();
  24.   });
  25. });
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top