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

24 lines
628 B
TypeScript

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