angular-tour-of-heroes/src/app/heroes/heroes.component.spec.ts
2022-09-20 15:58:37 +02:00

24 lines
599 B
TypeScript

import { ComponentFixture, TestBed } from '@angular/core/testing';
import { HeroesComponent } from './heroes.component';
describe('HeroesComponent', () => {
let component: HeroesComponent;
let fixture: ComponentFixture<HeroesComponent>;
beforeEach(async () => {
await TestBed.configureTestingModule({
declarations: [ HeroesComponent ]
})
.compileComponents();
fixture = TestBed.createComponent(HeroesComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});